Skip to content
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

Allow obliterating id token privs #67

Merged
merged 3 commits into from
Nov 6, 2024
Merged

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Nov 6, 2024

Description

This new option lets a caller disable the actions' ability to create an identity token. That means we can simulate an action run that was not granted id-token: write, even when it has been granted that.

This is useful because you can't parameterize the id-token permission when trying to write tests.

Checklist
  • Tested changes against a test repository
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • (If this PR is for a release) Updated README to point to the new tag (leave unchecked if not applicable)

Copy link

netlify bot commented Nov 6, 2024

Deploy Preview for detsys-ts-docs ready!

Name Link
🔨 Latest commit 6175acb
🔍 Latest deploy log https://app.netlify.com/sites/detsys-ts-docs/deploys/672bc62fc2b5b8000888bb02
😎 Deploy Preview https://deploy-preview-67--detsys-ts-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@grahamc grahamc merged commit 4280bc9 into main Nov 6, 2024
5 checks passed
@grahamc grahamc deleted the allow-obliterating-id-token-privs branch November 6, 2024 19:42
@grahamc grahamc deployed to detsys-pr-bot November 6, 2024 19:42 — with GitHub Actions Active
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.

2 participants