Skip to content

Commit c89b8d0

Browse files
Repo File Sync: synced file(s) with microsoft/mu_devops (#332)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com> Co-authored-by: mu-automation[bot] <204385837+mu-automation[bot]@users.noreply.github.com>
1 parent 70117fc commit c89b8d0

19 files changed

+340
-92
lines changed

.azurepipelines/MuDevOpsWrapper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resources:
1919
type: github
2020
endpoint: microsoft
2121
name: microsoft/mu_devops
22-
ref: refs/tags/v13.0.3
22+
ref: refs/tags/v14.0.1
2323

2424
parameters:
2525
- name: do_ci_build

.devcontainer/devcontainer.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"image": "ghcr.io/microsoft/mu_devops/ubuntu-24-dev:latest",
3+
"postCreateCommand": "git config --global --add safe.directory '*' && git config --global --add core.autocrlf false && pip install --upgrade -r pip-requirements.txt",
4+
"customizations": {
5+
"vscode": {
6+
"extensions": [
7+
"ms-vscode.cpptools",
8+
"DavidAnson.vscode-markdownlint"
9+
]
10+
}
11+
}
12+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* -text

.github/release-draft-config-n-1-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name-template: 'dev-v$RESOLVED_VERSION'
2121
tag-template: 'dev-v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202311
23+
commitish: refs/heads/dev/202405
2424
filter-by-commitish: true
2525

2626
template: |

.github/release-draft-config-n-1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name-template: 'dev-v$RESOLVED_VERSION'
2121
tag-template: 'dev-v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202311
23+
commitish: refs/heads/dev/202405
2424
filter-by-commitish: true
2525
include-labels: ["type:backport"]
2626

.github/release-draft-config-n-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name-template: 'dev-v$RESOLVED_VERSION'
2121
tag-template: 'dev-v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202405
23+
commitish: refs/heads/dev/202502
2424
filter-by-commitish: true
2525

2626
template: |

.github/release-draft-config-n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name-template: 'dev-v$RESOLVED_VERSION'
2121
tag-template: 'dev-v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202405
23+
commitish: refs/heads/dev/202502
2424
filter-by-commitish: true
2525
include-labels: ["type:backport"]
2626

.github/workflows/backport-to-release-branch.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# This workflow moves marked commits from a development branch to a release branch.
22
#
3+
# This workflow requires a GitHub App with the following permissions:
4+
# - Read and write access to repository contents
5+
# - Read and write access to pull requests
6+
#
7+
# The GitHub App ID and private key should be stored in the repository as a variable named `MU_ACCESS_APP_ID` and a
8+
# secret named `MU_ACCESS_APP_PRIVATE_KEY` respectively.
9+
#
310
# Each commit in the development branch is cherry-picked to the release branch if the commit originates from a merged
411
# PR that is marked for backport.
512
#
@@ -25,6 +32,7 @@ name: Backport Commits to Release Branch
2532
on:
2633
push:
2734
branches:
35+
- dev/202502
2836
- dev/202405
2937

3038
jobs:
@@ -33,11 +41,18 @@ jobs:
3341
runs-on: ubuntu-latest
3442

3543
steps:
44+
- name: Generate Token
45+
id: app-token
46+
uses: actions/create-github-app-token@v2
47+
with:
48+
app-id: ${{ vars.MU_ACCESS_APP_ID }}
49+
private-key: ${{ secrets.MU_ACCESS_APP_PRIVATE_KEY }}
50+
3651
- name: Checkout code
3752
uses: actions/checkout@v4
3853
with:
3954
fetch-depth: 0
40-
token: ${{ secrets.CHERRY_PICK_TOKEN }}
55+
token: ${{ steps.app-token.outputs.token }}
4156

4257
- name: Determine Contribution Info
4358
id: backport_info
@@ -229,5 +244,5 @@ jobs:
229244
-H "Content-Type: application/json" \
230245
-d "{\"title\":\"$PR_TITLE\",\"body\":\"$PR_BODY\",\"head\":\"$PR_BRANCH\",\"base\":\"$BASE_BRANCH\",\"labels\":[\"type:release-merge-conflict\"]}"
231246
env:
232-
CHERRY_PICK_TOKEN: ${{ secrets.CHERRY_PICK_TOKEN }}
247+
CHERRY_PICK_TOKEN: ${{ steps.app-token.outputs.token }}
233248

.github/workflows/issue-assignment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
contents: read
2424
issues: write
2525

26-
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v13.0.3
26+
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v14.0.1

.github/workflows/label-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
contents: read
3737
pull-requests: write
3838

39-
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v13.0.3
39+
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v14.0.1

0 commit comments

Comments
 (0)