Skip to content

Commit 0c435db

Browse files
authored
chore(sync): synced local '.github/' with remote 'general/.github/' (#4918)
Synced from dgibbs64/repo-sync@732370f — chore(workflow): add permissions section to action-sync.yml * Added an empty `permissions` section to the workflow file. * This change ensures that permissions are explicitly defined for the jobs.
1 parent fb72358 commit 0c435db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/action-update-copyright-years-in-license-file.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
name: Update copyright year(s) in license file
2+
23
on:
34
workflow_dispatch:
45
schedule:
56
- cron: "0 3 1 1 *" # 03:00 AM on January 1
67

78
permissions:
89
contents: write
9-
pull-requests: write
1010

1111
jobs:
1212
update-license-year:
13-
if: github.repository_owner == 'GameServerManagers'
1413
runs-on: ubuntu-latest
1514
steps:
1615
- name: Checkout
17-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1817
with:
1918
fetch-depth: 0
19+
persist-credentials: false
2020
- name: Action Update License Year
2121
uses: FantasticFiasco/action-update-license-year@v3
2222
with:

0 commit comments

Comments
 (0)