Skip to content

Commit

Permalink
Add workflow file for publishing releases to immutable action package (
Browse files Browse the repository at this point in the history
…#277)

* Add workflow file for publishing releases to immutable action package

This workflow file publishes new action releases to the immutable action package of the same name as this repo.

This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.

* linter fix for workflow permissions

Signed-off-by: Brian DeHamer <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>
  • Loading branch information
Jcambass and bdehamer authored Oct 14, 2024
1 parent 3a27694 commit b1d65e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Publish Immutable Action Version'

on:
release:
types: [published]

permissions: {}

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write

steps:
- name: Checking out
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/[email protected]

0 comments on commit b1d65e4

Please sign in to comment.