Skip to content

Commit 2a78ff4

Browse files
authored
Update copyright year on CI run (#8)
1 parent db95185 commit 2a78ff4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,18 @@ jobs:
3838
cache: "npm"
3939
- run: npm ci --no-fund
4040
- run: npm run test
41+
42+
copyright:
43+
if: ${{ github.ref == 'refs/heads/master' }}
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v3
47+
with:
48+
fetch-depth: 0
49+
- uses: FantasticFiasco/action-update-license-year@v2
50+
with:
51+
token: ${{ secrets.GITHUB_TOKEN }}
52+
- name: Merge PR
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
run: gh pr merge --merge --delete-branch

0 commit comments

Comments
 (0)