Compare commits
2 Commits
872fab4791
...
58a432ed6c
Author | SHA1 | Date | |
---|---|---|---|
58a432ed6c | |||
02817de72a |
7
.github/workflows/copyright_notice.yml
vendored
7
.github/workflows/copyright_notice.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
||||
with:
|
||||
@ -25,9 +25,8 @@ jobs:
|
||||
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
echo "there are changes";
|
||||
git commit -m "Add copyright notice"
|
||||
git push
|
||||
else
|
||||
echo "no changes";
|
||||
fi
|
||||
git commit -m "Add copyright notice"
|
||||
- name: Push changes
|
||||
run: git push
|
Loading…
x
Reference in New Issue
Block a user