Update copyright year(s) in license file #1
This file contains hidden or 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
| # Adapted from Epiverse packages: https://github.com/epiverse-trace | |
| name: Update copyright year(s) in license file | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 3 1 1 *' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: FantasticFiasco/action-update-license-year@v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| path: | | |
| LICENSE.md | |
| prBody: > | |
| This PR updates the copyright license for this new year! If you're reading this while you're celebrating, enjoy! Don't worry about this one :blush: | |
|  | |
| - uses: FantasticFiasco/action-update-license-year@v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| path: | | |
| LICENSE | |
| prBody: > | |
| This PR updates the copyright license for this new year! If you're reading this while you're celebrating, enjoy! Don't worry about this one :blush: | |
|  | |
| transform: (?<=YEAR:\s)(?<from>\d{4})?-?(\d{4})? |