diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml index 0ab000c..4c4b8d2 100644 --- a/.github/workflows/check-labels.yml +++ b/.github/workflows/check-labels.yml @@ -2,6 +2,9 @@ name: Check labels on: workflow_call: + secrets: + github-token: + required: true jobs: main: @@ -21,4 +24,4 @@ jobs: gh pr comment --repo ${{ github.repository}} ${{ github.event.pull_request.number }} -b "PR missing one of the required labels: **${required_labels[*]}**" exit 1 env: - GH_TOKEN: ${{ secrets.BOT_TOKEN_WORKFLOW }} \ No newline at end of file + GH_TOKEN: ${{ secrets.github-token }} \ No newline at end of file