diff --git a/.github/workflows/chatops-retest.yml b/.github/workflows/chatops-retest.yml index a4e1858ab..cb5d2bb21 100644 --- a/.github/workflows/chatops-retest.yml +++ b/.github/workflows/chatops-retest.yml @@ -1,14 +1,12 @@ name: Rerun Failed Actions - permissions: contents: read - on: repository_dispatch: types: [retest-command] - jobs: retest: name: Rerun Failed Actions uses: tektoncd/plumbing/.github/workflows/_chatops_retest.yml@48c53b4e7f1e0bb206575b80eb9fcf07b5854907 # main - secrets: inherit + secrets: + CHATOPS_TOKEN: ${{ secrets.CHATOPS_TOKEN }} diff --git a/.github/workflows/slash.yml b/.github/workflows/slash.yml index e7397d6d7..fd85ab5c4 100644 --- a/.github/workflows/slash.yml +++ b/.github/workflows/slash.yml @@ -1,17 +1,15 @@ name: Slash Command Routing - permissions: contents: read - on: issue_comment: types: [created] - jobs: check_comments: if: ${{ github.event.issue.pull_request }} permissions: - issues: write # for peter-evans/slash-command-dispatch to create issue reaction - pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction + issues: write + pull-requests: write uses: tektoncd/plumbing/.github/workflows/_slash.yml@5fcd73e7a60655e2cc717015e91be844523ab8f1 # main - secrets: inherit + secrets: + CHATOPS_TOKEN: ${{ secrets.CHATOPS_TOKEN }}