Files
transmission/.github/workflows/update-copyright.yml
Yat Ho 6ba8ec7e6f ci: bump actions and deps (#8141)
* ci: bump to `actions/checkout@v6`

* ci: bump to `actions/setup-node@v6`

* ci: bump to `actions/upload-artifact@v6`

* ci: bump to `actions/download-artifact@v7`

* ci: bump to `actions/cache@v5`

* ci: bump to `actions/setup-java@v5`

* ci: use gradle 8.13

* ci: bump to vcpkg `389d14fa0e0692f36967e9eb5499e909317644d5`

* ci: bump to `github/codeql-action@v4`

* ci: bump to ndk 27.3.13750724

* fix: define android namespace

* ci: don't pin ubuntu runner version for non-native builds
2026-01-15 14:15:47 -06:00

49 lines
1.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Update copyright year(s)
on:
schedule:
- cron: '0 3 1 1 *' # 03:00 AM on January 1
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
jobs:
update-copyright-years:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
prTitle: 'chore: update copyright years'
commitTitle: 'chore: update copyright year in COPYING'
token: ${{ secrets.GITHUB_TOKEN }}
path: COPYING
transform: (?<=Copyright )(?<from>\d{4})?-?(\d{4})?
- uses: FantasticFiasco/action-update-license-year@v3
with:
commitTitle: 'chore: update copyright year in user-facing files (1)'
token: ${{ secrets.GITHUB_TOKEN }}
path: |
gtk/Application.cc
qt/LicenseDialog.ui
transform: (?<=Copyright )(?<from>\d{4})?-?(\d{4})
- uses: FantasticFiasco/action-update-license-year@v3
with:
commitTitle: 'chore: update copyright year in user-facing files (2)'
token: ${{ secrets.GITHUB_TOKEN }}
path: |
macosx/Info.plist
macosx/Info.plist.in
macosx/*/InfoPlist.strings
macosx/QuickLookExtension/Info.plist
macosx/QuickLookExtension/Info.plist.in
macosx/QuickLookPlugin/Info.plist.in
macosx/QuickLookPlugin/QuickLookPlugin-Info.plist
transform: (?<=Copyright © )(?<from>\d{4})?[-]?(\d{4})
- uses: FantasticFiasco/action-update-license-year@v3
with:
commitTitle: 'chore: update copyright year in cmake/transmission.rc.in'
token: ${{ secrets.GITHUB_TOKEN }}
path: cmake/Transmission.rc.in
transform: (?<from>\d{4})?-?(\d{4})(?= Transmission Project)