File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Update Copyright Year
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 1 1 *"
6+ workflow_dispatch :
7+
8+ jobs :
9+ update-copyright :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ pull-requests : write
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Update copyright year in LICENSE
17+ run : sed -i "s/Copyright (c) 2020-[0-9]*/Copyright (c) 2020-$(date +%Y)/" LICENSE
18+ - name : Create Pull Request
19+ uses : peter-evans/create-pull-request@v7
20+ with :
21+ commit-message : " chore: update copyright year to $(date +%Y)"
22+ title : " chore: update copyright year to $(date +%Y)"
23+ branch : update-copyright-year
24+ body : Automated copyright year update.
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2024 Harry Stevens
3+ Copyright (c) 2020-2026 Harry Stevens
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments