We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56fae2e + 1a9ece5 commit 8eeaceaCopy full SHA for 8eeacea
.github/workflows/tag-version.yml
@@ -1,6 +1,8 @@
1
name: Tag Version
2
3
on:
4
+ pull_request:
5
+ types: [closed]
6
push:
7
branches:
8
- main
@@ -9,6 +11,8 @@ on:
9
11
jobs:
10
12
tag-version:
13
runs-on: ubuntu-latest
14
+ # Only run on push if it's not from a merged PR (to avoid duplicate runs)
15
+ if: github.event_name != 'push' || github.event.head_commit.message !~ /^Merge pull request/
16
permissions:
17
contents: write # This allows pushing tags and commits
18
steps:
0 commit comments