-
Notifications
You must be signed in to change notification settings - Fork 297
ci: replace secrets inherit with explicit token mapping for chatops #5071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,12 @@ | ||
| name: Rerun Failed Actions | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| on: | ||
| repository_dispatch: | ||
| types: [retest-command] | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| jobs: | ||
| retest: | ||
| name: Rerun Failed Actions | ||
| uses: tektoncd/plumbing/.github/workflows/_chatops_retest.yml@48c53b4e7f1e0bb206575b80eb9fcf07b5854907 # main | ||
| secrets: inherit | ||
| secrets: | ||
| CHATOPS_TOKEN: ${{ secrets.CHATOPS_TOKEN }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,15 @@ | ||
| name: Slash Command Routing | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| permissions: | ||
| contents: read | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| on: | ||
| issue_comment: | ||
| types: [created] | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| 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 | ||
|
Comment on lines
-14
to
-15
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: revert this |
||
| issues: write | ||
| pull-requests: write | ||
| uses: tektoncd/plumbing/.github/workflows/_slash.yml@5fcd73e7a60655e2cc717015e91be844523ab8f1 # main | ||
| secrets: inherit | ||
| secrets: | ||
| CHATOPS_TOKEN: ${{ secrets.CHATOPS_TOKEN }} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: revert this