Attempt to push with an explicit ref
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m2s
Add copyright notice / copyright_notice (pull_request) Successful in 2m6s
Playwright Tests / test (pull_request) Successful in 4m22s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 10m40s

This commit is contained in:
Manuel Bustillo 2024-10-27 21:46:37 +01:00
parent 05bd1ac66c
commit f85d800127

View File

@ -1,6 +1,8 @@
name: Add copyright notice name: Add copyright notice
on: on:
pull_request: pull_request:
permissions:
contents: write
jobs: jobs:
copyright_notice: copyright_notice:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -8,6 +10,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
- uses: VinnyBabuManjaly/copyright-action@v1.0.0 - uses: VinnyBabuManjaly/copyright-action@v1.0.0
with: with:
CopyrightString: 'Copyright (C) 2024 Manuel Bustillo\n' CopyrightString: 'Copyright (C) 2024 Manuel Bustillo\n'
@ -21,4 +24,4 @@ jobs:
git add . git add .
git commit -m "Add copyright notice" git commit -m "Add copyright notice"
- name: Push changes - name: Push changes
run: git push origin HEAD:${GITHUB_REF##*/} run: git push