All checks were successful
		
		
	
	Playwright Tests / test (pull_request) Has been skipped
				
			Check usage of free licenses / build-static-assets (pull_request) Successful in 1m12s
				
			Add copyright notice / copyright_notice (pull_request) Successful in 1m32s
				
			Build Nginx-based docker image / build-static-assets (push) Successful in 6m2s
				
			
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Add copyright notice
 | |
| on:
 | |
|   pull_request:
 | |
| permissions:
 | |
|   contents: write
 | |
| concurrency:
 | |
|   group: ${{ github.ref }}
 | |
|   cancel-in-progress: true
 | |
| jobs:
 | |
|   copyright_notice:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: actions/checkout@v4
 | |
|         with:
 | |
|           token: ${{ secrets.ACTIONS_TOKEN }}
 | |
|           ref: ${{ github.head_ref }}
 | |
|       - uses: VinnyBabuManjaly/copyright-action@v1.0.0
 | |
|         with:
 | |
|           CopyrightString: '/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/\n\n'
 | |
|           FileType: '.tsx, .jsx, .ts'
 | |
|           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 .
 | |
| 
 | |
|           if [ -n "$(git status --porcelain)" ]; then
 | |
|             echo "there are changes";
 | |
|             git commit -m "Add copyright notice"
 | |
|             git push
 | |
|           else
 | |
|             echo "no changes";
 | |
|           fi
 |