Skip to content

Commit 3fc9aa3

Browse files
authored
Merge pull request #200 from actions/jcambass/2024-09-16/update-instructions
Use Release Published
2 parents 4b1aa5c + 2d5c422 commit 3fc9aa3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Package and publish the action when a new release is created
1+
# Package and publish the action when a new release is published
22
# Since this is the publishing action itself, we can use the current checkout as the action
33
name: 'Publish Immutable Action Version'
44
on:
55
release:
6-
types: [created]
6+
types: [published]
77
permissions:
8+
contents: read
89
id-token: write
910
packages: write
1011
jobs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ name: "Publish Immutable Action Version"
3737

3838
on:
3939
release:
40-
types: [created]
40+
types: [published]
4141

4242
jobs:
4343
publish:

0 commit comments

Comments
 (0)