Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/sts/slack-config.sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
# (rotation invalidates the previous refresh token, so the new one must be
# stored immediately). Replaces the SLACK_GH_TOKEN fine-grained PAT.
#
# refs/heads/main covers the production deploy and the scheduled preview sweep;
# pull_request covers preview deploy/destroy runs. Jobs that reference a GitHub
# environment present it as their OIDC subject instead of the ref/event form,
# so environment:preview covers the jobs running in the preview environment.
# Jobs that reference a GitHub environment present it as their OIDC subject
# instead of the ref/event form. All jobs that rotate the token run in an
# environment: environment:production covers the production Slack app update,
# and environment:preview covers the preview deploy/destroy/sweep jobs. The
# refs/heads/main and pull_request subjects cover rotation from any future job
# that runs without an environment.
subject:
- repo:tempoxyz@211589300/tip.bot@1232143975:ref:refs/heads/main
- repo:tempoxyz@211589300/tip.bot@1232143975:pull_request
- repo:tempoxyz@211589300/tip.bot@1232143975:environment:preview
- repo:tempoxyz@211589300/tip.bot@1232143975:environment:production

permissions:
secrets: write
Loading