投稿フォームの字数上限計算を実際の投稿内容に合わせる (#135) #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check copyright year | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-mame | |
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 |