mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
[NO GBP] Fixes the discord PR announcement workflow (#92209)
## About The Pull Request I forgot that strings in expressions **MUST** be enclosed in single-quotes and not double-quotes. ## Why It's Good For The Game The PR announcement workflow needs to not be completely borked. ## Changelog No player-facing changes.
This commit is contained in:
4
.github/workflows/discord_pr_announce.yml
vendored
4
.github/workflows/discord_pr_announce.yml
vendored
@@ -6,7 +6,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.action != "labeled" || github.event.label.name == "Stale" }}
|
if: ${{ github.event.action != 'labeled' || github.event.label.name == 'Stale' }}
|
||||||
steps:
|
steps:
|
||||||
- name: "Check for DISCORD_WEBHOOK"
|
- name: "Check for DISCORD_WEBHOOK"
|
||||||
id: secrets_set
|
id: secrets_set
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
|
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
title: ${{ github.event.pull_request.user.login }} - ${{ github.event.pull_request.title }}
|
title: ${{ github.event.pull_request.user.login }} - ${{ github.event.pull_request.title }}
|
||||||
message: ${{ github.event.action != "labeled" && "GET_ACTION" || "**Pull Request ${{ github.event.pull_request.number }} automatically marked as stale.**" }}
|
message: ${{ github.event.action != 'labeled' && 'GET_ACTION' || format('**Pull Request {0} automatically marked as stale.**', github.event.pull_request.number) }}
|
||||||
include_image: false
|
include_image: false
|
||||||
show_author: false
|
show_author: false
|
||||||
avatar_url: https://avatars.githubusercontent.com/u/1363778?s=200&v=4
|
avatar_url: https://avatars.githubusercontent.com/u/1363778?s=200&v=4
|
||||||
|
|||||||
Reference in New Issue
Block a user