Skip to content

Commit b60c48e

Browse files
Repo File Sync: synced file(s) with microsoft/mu_devops
Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
1 parent 8302fe4 commit b60c48e

6 files changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/issue-assignment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ on:
1919
jobs:
2020
apply:
2121

22-
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v18.0.4
22+
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v18.0.5
2323
secrets: inherit

.github/workflows/label-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ on:
3131

3232
jobs:
3333
apply:
34-
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v18.0.4
34+
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v18.0.5
3535
secrets: inherit

.github/workflows/label-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ on:
2525
jobs:
2626
sync:
2727

28-
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v18.0.4
28+
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v18.0.5
2929
secrets: inherit

.github/workflows/pull-request-formatting-validator.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,21 @@ jobs:
4141
title
4242
}
4343
}
44-
}')"
44+
}' --jq '.data.repository.pullRequest.title')"
45+
46+
comments="$(gh api "repos/${OWNER}/${REPO}/issues/${PR_NUMBER}/comments" --paginate --jq '.[].body')"
4547
4648
if [[ "${prTitle}" == *"Personal/"* ]]; then
47-
gh pr comment $PR_URL --body "⚠️ Please add a meaningful PR title (remove the 'Personal/' prefix from the title)."
49+
if ! echo "${comments}" | grep -qF '<!-- pr-val-personal -->'; then
50+
gh pr comment $PR_URL --body "<!-- pr-val-personal -->⚠️ Please add a meaningful PR title (remove the 'Personal/' prefix from the title)."
51+
fi
52+
echo 'VALIDATION_ERROR=true' >> $GITHUB_ENV
53+
fi
54+
55+
if [[ "${prTitle}" == "Repo File Sync: synced file(s) with microsoft/mu_devops" ]]; then
56+
if ! echo "${comments}" | grep -qF '<!-- pr-val-sync-title -->'; then
57+
gh pr comment $PR_URL --body "<!-- pr-val-sync-title -->⚠️ Please add a meaningful PR title (update the default file sync title)."
58+
fi
4859
echo 'VALIDATION_ERROR=true' >> $GITHUB_ENV
4960
fi
5061

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ on:
2525
jobs:
2626
check:
2727

28-
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v18.0.4
28+
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v18.0.5
2929
secrets: inherit

.github/workflows/triage-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ on:
2020
jobs:
2121
triage:
2222

23-
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v18.0.4
23+
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v18.0.5
2424
secrets: inherit

0 commit comments

Comments
 (0)