mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
ae6af6aefd
* Copyrightの年が今年になっているかをチェックするCI追加 * PRでは動作しないようにする
19 lines
402 B
YAML
19 lines
402 B
YAML
name: Check copyright year
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
|
|
jobs:
|
|
check_copyright_year:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.2.0
|
|
- 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
|