Skip to content

Commit ce0125d

Browse files
authored
{CI} Update GitHub workflows to use ubuntu-latest and add auto-assign labels for Quantum issues (#30952)
1 parent 7cb57a3 commit ce0125d

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/policies/resourceManagement.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6370,5 +6370,25 @@ configuration:
63706370
users:
63716371
- ReaNAiveD
63726372
description: '[SecurityInsights] Auto assign labels and reviewers based on PR title/description.'
6373+
- if:
6374+
- payloadType: Issues
6375+
- or:
6376+
- titleContains:
6377+
pattern: '[Aa]z [Qq]uantum'
6378+
isRegex: True
6379+
- bodyContains:
6380+
pattern: '[Aa]z [Qq]uantum'
6381+
isRegex: True
6382+
- or:
6383+
- isAction:
6384+
action: Opened
6385+
then:
6386+
- addLabel:
6387+
label: Auto-Assign
6388+
- addLabel:
6389+
label: Quantum
6390+
- addLabel:
6391+
label: Service Attention
6392+
description: '[Quantum] auto assign labels and users based on issue description.'
63736393
onFailure:
63746394
onSuccess:

.github/workflows/AddIssueComment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44

55
jobs:
66
thank-user:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
permissions:
99
issues: write
1010
name: Say thanks for the Issue

.github/workflows/AddIssueCommentWithLabel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
comment-non-security:
88
if: contains(github.event.issue.labels.*.name, 'non-security')
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
permissions:
1111
issues: write
1212
name: Comment on issue

0 commit comments

Comments
 (0)