Skip to content

Commit 77e4e11

Browse files
Copilothotlong
andcommitted
Fix duplicate release workflow runs by skipping github-actions bot commits
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent b22b1e1 commit 77e4e11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
timeout-minutes: 10
20+
# Skip if the commit is from github-actions bot to prevent duplicate runs
21+
if: github.actor != 'github-actions[bot]' && !contains(github.event.head_commit.message, 'Version Packages')
2022
steps:
2123
- name: Checkout Repo
2224
uses: actions/checkout@v3

0 commit comments

Comments
 (0)