Manuel Bustillo
05bd1ac66c
Some checks failed
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m44s
Add copyright notice / copyright_notice (pull_request) Failing after 1m57s
Playwright Tests / test (pull_request) Successful in 3m36s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 7m53s
24 lines
788 B
YAML
24 lines
788 B
YAML
name: Add copyright notice
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
copyright_notice:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
|
with:
|
|
CopyrightString: 'Copyright (C) 2024 Manuel Bustillo\n'
|
|
FileType: '.rb, .erb, .jsx, .tsx'
|
|
Path: 'app/, config/, db/'
|
|
IgnorePath: 'testfolder1/a/, testfolder3'
|
|
- name: Commit changes
|
|
run: |
|
|
git config --local user.email "bustikiller@bustikiller.com"
|
|
git config --local user.name "Manuel Bustillo"
|
|
git add .
|
|
git commit -m "Add copyright notice"
|
|
- name: Push changes
|
|
run: git push origin HEAD:${GITHUB_REF##*/} |