Skip to content

Commit 5ffaa27

Browse files
authored
fix: update team notification script and workflow for P0 issues (#1113)
Signed-off-by: MonaaEid <monaa_eid@hotmail.com>
1 parent 1a04e0b commit 5ffaa27

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/scripts/p0_issues_notify_team.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const marker = '<!-- P0 Issue Notification -->';
44

55
async function notifyTeam(github, owner, repo, issue, marker) {
66
const comment = `${marker} :rotating_light: Attention Team :rotating_light:
7-
@team-python-sdk/maintainers @team-python-sdk/committers @team-python-sdk/triage
7+
@hiero-ledger/hiero-sdk-python-maintainers @hiero-ledger/hiero-sdk-python-committers @hiero-ledger/hiero-sdk-python-triage
88
99
A new P0 issue has been created: #${issue.number} - ${issue.title || '(no title)'}
1010
Please prioritize this issue accordingly.

.github/workflows/bot-p0-issues-notify-team.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
p0_notify_team:
1515
runs-on: ubuntu-latest
16-
# Only run for workflow_dispatch, issues opened, or issues labeled with 'p0' (case-insensitive)
16+
# Only run for issues labeled with 'p0' (case-insensitive)
1717
if: >
1818
(github.event_name == 'issues' && (
1919
(github.event.label.name == 'p0' || github.event.label.name == 'P0'))
@@ -26,12 +26,12 @@ jobs:
2626
egress-policy: audit
2727

2828
- name: Checkout repository
29-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
29+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
3030

3131
- name: Notify team of P0 issues
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
34+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd #v8.0.0
3535
with:
3636
script: |
3737
const script = require('./.github/scripts/p0_issues_notify_team.js');

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
5353
`examples.yml``pr-check-examples.yml`,
5454
`test.yml``pr-check-test.yml` (#1043)
5555
- Cleaned up `token_airdrop_claim_auto` example for pylint compliance (no functional changes). (#1079)
56+
- Update team notification script and workflow for P0 issues 'p0_issues_notify_team.js'
5657

5758

5859
### Fixed

0 commit comments

Comments
 (0)