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 fe0cbb0
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 19 deletions.
11 changes: 1 addition & 10 deletions .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 All @@ -42,13 +42,6 @@ parameters:
displayName: Perform Stuart PR Evaluation
type: boolean
default: true
- name: calculate_code_coverage
displayName: Calculate Code Coverage From Unit Tests
default: false
- name: coverage_publish_target
displayName: Code Coverage Publish Target
type: string
default: 'ado' # 'ado', 'codecov'
- name: container_build
displayName: Flag for whether this repo should do stuart_setup
type: boolean
Expand Down Expand Up @@ -95,8 +88,6 @@ jobs:
do_ci_build: ${{ parameters.do_ci_build }}
do_ci_setup: ${{ parameters.do_ci_setup }}
do_pr_eval: ${{ parameters.do_pr_eval }}
calculate_code_coverage: ${{ parameters.calculate_code_coverage }}
coverage_publish_target: ${{ parameters.coverage_publish_target }}
do_non_ci_setup: ${{ parameters.do_non_ci_setup }}
do_non_ci_build: ${{ parameters.do_non_ci_build }}
build_matrix: ${{ parameters.build_matrix }}
Expand Down
1 change: 1 addition & 0 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc
- group: coverage

extends:
template: MuDevOpsWrapper.yml
Expand Down
1 change: 1 addition & 0 deletions .azurepipelines/Windows-VS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest
- group: coverage

extends:
template: MuDevOpsWrapper.yml
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]
7 changes: 6 additions & 1 deletion .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 All @@ -48,7 +53,7 @@ jobs:
- name: Check for Validation Errors
if: env.VALIDATION_ERROR
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: |
core.setFailed('PR Formatting Validation Check Failed!')
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 fe0cbb0

Please sign in to comment.