diff --git a/.github/workflows/NewYearUpdateCopyright.yml b/.github/workflows/NewYearUpdateCopyright.yml index 7c4d53d1..fa6e0953 100644 --- a/.github/workflows/NewYearUpdateCopyright.yml +++ b/.github/workflows/NewYearUpdateCopyright.yml @@ -6,13 +6,12 @@ on: #workflow_dispatch: permissions: - reaf + issues: write jobs: create-issue: runs-on: ubuntu-latest - permissions: - issues: write + steps: - name: Create LICENSE update issue uses: peter-evans/create-issue-from-file@v4 diff --git a/.github/workflows/stale-branches.yml b/.github/workflows/stale-branches.yml index c0abe98b..d4d75364 100644 --- a/.github/workflows/stale-branches.yml +++ b/.github/workflows/stale-branches.yml @@ -6,14 +6,13 @@ on: - cron: '0 2 * * 0' permissions: - read + issues: write + contents: write jobs: stale_branches: runs-on: ubuntu-latest - permissions: - issues: write - contents: write + steps: - name: Stale Branches uses: crs-k/stale-branches@v8.2.2