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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
@ -25,9 +25,8 @@ jobs:
|
|||||||
|
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
echo "there are changes";
|
echo "there are changes";
|
||||||
|
git commit -m "Add copyright notice"
|
||||||
|
git push
|
||||||
else
|
else
|
||||||
echo "no changes";
|
echo "no changes";
|
||||||
fi
|
fi
|
||||||
git commit -m "Add copyright notice"
|
|
||||||
- name: Push changes
|
|
||||||
run: git push
|
|
Loading…
x
Reference in New Issue
Block a user