Skip to content

Commit 97ed494

Browse files
mattKorwelgiraffechen
authored andcommitted
Pr comment (google-gemini#8709)
1 parent fc0e791 commit 97ed494

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/release-patch-from-comment.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
pull-requests: 'write'
1313
actions: 'write'
1414
steps:
15+
- name: 'Checkout'
16+
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
17+
with:
18+
fetch-depth: 1
19+
1520
- name: 'Slash Command Dispatch'
1621
id: 'slash_command'
1722
uses: 'peter-evans/slash-command-dispatch@40877f718dce0101edfc7aea2b3800cc192f9ed5'
@@ -23,6 +28,16 @@ jobs:
2328
static-args: |
2429
dry_run=false
2530
31+
- name: 'Acknowledge Patch Command'
32+
if: "steps.slash_command.outputs.dispatched == 'true'"
33+
uses: 'peter-evans/create-or-update-comment@67dcc547d311b736a8e6c5c236542148a47adc3d'
34+
with:
35+
issue-number: '${{ github.event.issue.number }}'
36+
body: |
37+
👋 Patch command received! Processing...
38+
39+
You can track the progress here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
40+
2641
- name: 'Get PR Status'
2742
id: 'pr_status'
2843
env:

0 commit comments

Comments
 (0)