Skip to content

Commit 96817a4

Browse files
committed
fix: fix YAML config for actions-tagger workflow
Because YAML always bites you in the end. Updated how the "types" configuration for the release action are defined, and limited to only "published". Additionally, working examples I saw all used a different format for defining env variables, so I went with what appears to work. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 54c9b00 commit 96817a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/update-major-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ name: "Keep major release version up-to-date"
44

55
on:
66
release:
7-
types:
8-
- published
9-
- edited
7+
types: [published]
108

119
jobs:
1210
actions-tagger:
@@ -17,4 +15,4 @@ jobs:
1715
publish_latest_tag: false
1816
prefer_branch_releases: false
1917
env:
20-
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN}}
18+
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"

0 commit comments

Comments
 (0)