| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,22 @@ | ||||||||||
| name: 'Publish Immutable Action Version' | ||||||||||
|
|
||||||||||
| on: | ||||||||||
| release: | ||||||||||
| types: [created] | ||||||||||
|
|
||||||||||
| jobs: | ||||||||||
| publish: | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
| permissions: | ||||||||||
| contents: read | ||||||||||
| id-token: write | ||||||||||
|
Comment thread
Copy link
Copy Markdown
Contributor
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. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWhy is an OIDC token needed?
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
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. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityIt's required for generating the attestation - it uses the id-token to prove the identity and request a Sigstore signing cert. See also: https://github.com/actions/attest-build-provenance?tab=readme-ov-file#usage
(we don't persist the attestation with GitHub's API so we don't need that second one)
Sorry, something went wrong.
joshmgross reacted with thumbs up emoji
Jcambass reacted with heart emoji
All reactions
|
||||||||||
| packages: write | ||||||||||
|
|
||||||||||
| steps: | ||||||||||
| - name: Checking out | ||||||||||
| uses: actions/checkout@v4 | ||||||||||
| - name: Publish | ||||||||||
| id: publish | ||||||||||
| uses: actions/publish-immutable-action@0.0.1 | ||||||||||
| with: | ||||||||||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||||||||||
|
Comment thread
Comment on lines
+20
to
+22
Copy link
Copy Markdown
Contributor
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. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWe could update this action to default ot using the GITHUB_TOKEN Lines 11 to 14 in 35b1cdd
Sorry, something went wrong.
conorsloan reacted with thumbs up emoji
All reactions
|
||||||||||
| Back | FazBrowse Home | New Git URL |
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.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityShould we use release published instead of created?
https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=published#release
Users may create a draft release and not want others to depend on it yet.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.