Skip to content

Commit

Permalink
Add workflow which should trigger update of copyright year
Browse files Browse the repository at this point in the history
Ideally we should restrict it to only "useful" changes, e.g. under
dandi/ folder. Filed

- FantasticFiasco/action-update-license-year#626
  • Loading branch information
yarikoptic committed Feb 11, 2025
1 parent a4ba636 commit 114d2f0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/update-year.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update year

on:
# We would not trigger update until actual changes are done
# to our code, or we explicitly request
push:
branches:
- 'master'
workflow_dispatch:


jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 114d2f0

Please sign in to comment.