Compare commits

...

2 Commits

Author SHA1 Message Date
58a432ed6c Use a custom PAT instead of the GITHUB_TOKEN default
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m7s
Add copyright notice / copyright_notice (pull_request) Successful in 2m26s
Playwright Tests / test (pull_request) Successful in 5m26s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 13m28s
2024-10-27 22:09:27 +01:00
02817de72a Push only when there are changes 2024-10-27 22:09:02 +01:00

View File

@ -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