From 9381b73bb2fb5aaae137636da8c3fc2fd5892d6d Mon Sep 17 00:00:00 2001 From: Conor Sloan Date: Thu, 29 Aug 2024 13:36:46 +0100 Subject: [PATCH] Create publish-immutable-action.yml 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. --- .../workflows/publish-immutable-action.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/publish-immutable-action.yml diff --git a/.github/workflows/publish-immutable-action.yml b/.github/workflows/publish-immutable-action.yml new file mode 100644 index 0000000..5e195b3 --- /dev/null +++ b/.github/workflows/publish-immutable-action.yml @@ -0,0 +1,23 @@ +name: "Publish Immutable Action Version" + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + attestations: write + id-token: write + 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 }}