Browse Source

chore(sync): synced local '.github/' with remote 'general/.github/'

Synced from dgibbs64/repo-sync@732370ff26a0d88345bb607f666e3110d343d997 — 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.
pull/4918/head
dgibbs64 1 month ago
parent
commit
656dffb6a9
  1. 6
      .github/workflows/action-update-copyright-years-in-license-file.yml

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

@ -1,4 +1,5 @@
name: Update copyright year(s) in license file name: Update copyright year(s) in license file
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
@ -6,17 +7,16 @@ on:
permissions: permissions:
contents: write contents: write
pull-requests: write
jobs: jobs:
update-license-year: update-license-year:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false
- name: Action Update License Year - name: Action Update License Year
uses: FantasticFiasco/action-update-license-year@v3 uses: FantasticFiasco/action-update-license-year@v3
with: with:

Loading…
Cancel
Save