Skip to content

Commit e7817a2

Browse files
Add branch filter for push and pull_request events
1 parent bb3b7a4 commit e7817a2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-citation.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Update CITATION.cff metadata
22

33
on:
44
push:
5+
branches:
6+
- main
57
paths-ignore:
68
- CITATION.cff
9+
pull_request:
10+
branches:
11+
- main
712

813
permissions:
914
contents: write
@@ -47,4 +52,4 @@ jobs:
4752
git push
4853
else
4954
echo "No changes to commit"
50-
fi
55+
fi

0 commit comments

Comments
 (0)