Skip to content

Commit cc75027

Browse files
authored
Do not run CI when pushing tags (#2635)
Prevent duplicate CI runs when pushing tags.
1 parent a0e5b15 commit cc75027

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ name: CI
88

99
# Controls when the action will run.
1010
on:
11-
# Triggers the workflow on push or manual dispatch
11+
# Triggers the workflow on push or manual dispatch, but not on tags.
12+
# This is so there are not duplicate CI runs when the periodic
13+
# specification updates are tagged.
1214
push:
15+
branches:
16+
- '*'
17+
tags-ignore:
18+
- '*'
1319
# Allows you to run this workflow manually from the Actions tab
1420
workflow_dispatch:
1521
# When a pull request is opened from a local branch or fork

0 commit comments

Comments
 (0)