From 8d422c6606590d2bc75e6583dee06ec3fd9b072d Mon Sep 17 00:00:00 2001 From: Joel Ambass Date: Tue, 15 Oct 2024 01:59:52 +0200 Subject: [PATCH] Add workflow file for publishing releases to immutable action package (#112) * 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 --------- Signed-off-by: Brian DeHamer Co-authored-by: Brian DeHamer Co-authored-by: Eugene <108841108+ejahnGithub@users.noreply.github.com> --- .../workflows/publish-immutable-actions.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish-immutable-actions.yml diff --git a/.github/workflows/publish-immutable-actions.yml b/.github/workflows/publish-immutable-actions.yml new file mode 100644 index 0000000..df8b0b8 --- /dev/null +++ b/.github/workflows/publish-immutable-actions.yml @@ -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/publish-immutable-action@0.0.3