Update secret name to not be prefixed with GITHUB

Apparently this isn't allowed
This commit is contained in:
William Martin 2023-10-31 09:49:46 +01:00
parent 09b81ff545
commit 4213e3e2b4

View file

@ -5,7 +5,7 @@ on:
types: types:
- labeled - labeled
jobs: jobs:
add-comment: create-discussion:
if: github.event.label.name == 'discuss' if: github.event.label.name == 'discuss'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -23,7 +23,7 @@ jobs:
} }
}' -f title="${DISCUSSION_TITLE}" -f body="@${LABELLER} added the discuss label to #${ISSUE_NUMBER}" }' -f title="${DISCUSSION_TITLE}" -f body="@${LABELLER} added the discuss label to #${ISSUE_NUMBER}"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_CLI_DISCUSSION_TRIAGE_TOKEN }} GITHUB_TOKEN: ${{ secrets.CLI_DISCUSSION_TRIAGE_TOKEN }}
ISSUE_TITLE: ${{ github.event.issue.title }} ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_NUMBER: ${{ github.event.issue.number }} ISSUE_NUMBER: ${{ github.event.issue.number }}
LABELLER: ${{ github.event.sender.login }} LABELLER: ${{ github.event.sender.login }}