Skip to content

Commit 60d5237

Browse files
committed
add write permission for workflow
1 parent 3e889bc commit 60d5237

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/plot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- master
77

8+
permissions:
9+
contents: write # required for pushing commits
10+
11+
812
jobs:
913
generate-timing-plots:
1014
runs-on: ubuntu-latest
@@ -28,5 +32,5 @@ jobs:
2832
git config --global user.name 'github-actions[bot]'
2933
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
3034
git add .
31-
git commit -m "Update timing plots"
35+
git commit -m "Update timing plots [skip ci]" || echo "No changes to commit"
3236
git push

0 commit comments

Comments
 (0)