mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: Check copyright year
 | 
						|
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    branches:
 | 
						|
      - master
 | 
						|
      - develop
 | 
						|
 | 
						|
jobs:
 | 
						|
  check_copyright_year:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - uses: actions/checkout@v4.2.2
 | 
						|
    - run: |
 | 
						|
        if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then
 | 
						|
          echo "Please change copyright year!"
 | 
						|
          exit 1
 | 
						|
        fi
 |