Skip to content

Commit

Permalink
Repo File Sync: synced file(s) with microsoft/mu_devops (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
uefibot authored and kenlautner committed Feb 2, 2024
1 parent 8b80005 commit 172c265
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .azurepipelines/MuDevOpsWrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resources:
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v7.2.0
ref: refs/tags/v9.1.1

parameters:
- name: do_ci_build
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ on:

jobs:
approval_check:

permissions:
pull-requests: write

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v7.2.0
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v9.1.1
secrets: inherit
8 changes: 7 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ on:

jobs:
merge_check:

permissions:
contents: read
pull-requests: write
issues: write

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v7.2.0
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v9.1.1
secrets: inherit
7 changes: 6 additions & 1 deletion .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: read
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
7 changes: 6 additions & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: read
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ on:

jobs:
sync:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
5 changes: 5 additions & 0 deletions .github/workflows/pull-request-formatting-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
jobs:
validate_pr:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- run: |
prTitle="$(gh api graphql -F owner=$OWNER -F name=$REPO -F pr_number=$PR_NUMBER -f query='
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ on:

jobs:
draft:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/scheduled-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
jobs:
repo_cleanup:
runs-on: ubuntu-latest

permissions:
pull-requests: write
issues: write

steps:
- name: Get Repository Info
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ on:

jobs:
check:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ on:

jobs:
triage:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]

0 comments on commit 172c265

Please sign in to comment.