Skip to content

fix of 9a70ce8f5ea9df00001894809f5ce7bc69b14c8a #2872

fix of 9a70ce8f5ea9df00001894809f5ce7bc69b14c8a

fix of 9a70ce8f5ea9df00001894809f5ce7bc69b14c8a #2872

name: Check copyright year
on:
push:
branches:
- master
- develop
jobs:
check_copyright_year:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- 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