Skip to content

Commit 60ed2df

Browse files
added
1 parent 09d5aa2 commit 60ed2df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/actions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
run_script:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
1315

1416
steps:
1517
- name: Checkout repository
@@ -38,5 +40,5 @@ jobs:
3840
git config --local user.email "action@github.com"
3941
git config --local user.name "GitHub Action"
4042
git add open-source.txt
41-
git diff-index --quiet HEAD || (git commit -a -m "Update open-source.txt log" --allow-empty)
43+
git commit -m "Update open-source.txt log"
4244
git push origin main

0 commit comments

Comments
 (0)