Skip to content

ci(sessionize-new-proposal): deny-all permissions on the default token#734

Open
arpitjain099 wants to merge 1 commit into
cncf:mainfrom
arpitjain099:ci/add-permissions
Open

ci(sessionize-new-proposal): deny-all permissions on the default token#734
arpitjain099 wants to merge 1 commit into
cncf:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

Adds permissions: {} (deny-all) to the scheduled Sessionize sync workflow. The default GITHUB_TOKEN is unused:

  • The retrieve-latest-session job calls the Sessionize public API and the Slack webhook via SLACK_WEBHOOK_URL β€” no GitHub API calls.
  • The update-github-variable job uses mmoyaferrer/set-github-variable with secrets.REPO_ACCESS_TOKEN, a separate PAT, not the default token.
  • No checkout step.

YAML validated locally.

The retrieve-latest-session job only hits the Sessionize public API
and the Slack webhook. The update-github-variable job uses
secrets.REPO_ACCESS_TOKEN to mutate the repo variable, not the
default GITHUB_TOKEN. Workflow has no checkout step.

Signed-off-by: arpitjain099 <arpitjain099@gmail.com>
@arpitjain099
Copy link
Copy Markdown
Author

Hi @AudMonte01, gentle ping on this. PR has been open for 4 days without review. I noticed you've been on the recent-merger side of recent merges in this repo. When you have a moment, would you mind giving it a quick look? No urgency. Happy to address any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant