From 2d5c4224f2cda14d4497250bb2367badc39ecc5d Mon Sep 17 00:00:00 2001 From: Joel Ambass Date: Mon, 16 Sep 2024 17:05:18 +0200 Subject: [PATCH] Use Release Published --- .github/workflows/release.yml | 5 +++-- README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42412ee..f6bae68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,11 @@ -# Package and publish the action when a new release is created +# Package and publish the action when a new release is published # Since this is the publishing action itself, we can use the current checkout as the action name: 'Publish Immutable Action Version' on: release: - types: [created] + types: [published] permissions: + contents: read id-token: write packages: write jobs: diff --git a/README.md b/README.md index 230375a..7c159b3 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ name: "Publish Immutable Action Version" on: release: - types: [created] + types: [published] jobs: publish: