Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ on:
jobs:
apply:

permissions:
contents: read
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v15.0.2
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v15.0.3
secrets: inherit
6 changes: 2 additions & 4 deletions .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ on:
jobs:
sync:

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v15.0.2
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v15.0.3
secrets: inherit
6 changes: 1 addition & 5 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,5 @@ jobs:
draft:
name: Draft Releases

permissions:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v15.0.2
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v15.0.3
secrets: inherit
16 changes: 10 additions & 6 deletions .github/workflows/scheduled-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,21 @@ jobs:
repo_cleanup:
runs-on: ubuntu-latest

permissions:
pull-requests: write
issues: write

steps:
- name: Generate Token
id: app-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.MU_ACCESS_APP_ID }}
private-key: ${{ secrets.MU_ACCESS_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Get Repository Info
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV

- name: Prune Won't Fix Pull Requests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
REPOSITORY: ${{ env.REPOSITORY_NAME }}
run: |
gh api \
Expand All @@ -50,7 +54,7 @@ jobs:

- name: Prune Won't Fix Issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
REPOSITORY: ${{ env.REPOSITORY_NAME }}
run: |
gh api \
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@ on:
jobs:
check:

permissions:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Stale.yml@v15.0.2
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v15.0.3
secrets: inherit
6 changes: 2 additions & 4 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ on:
jobs:
triage:

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v15.0.2
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v15.0.3
secrets: inherit