Skip to content

Commit 830b062

Browse files
Create a Comment Action for Automated Conference Issues #442
1 parent ce9656b commit 830b062

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/conference.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,20 @@ jobs:
5353
labels: |
5454
report
5555
automated pr
56+
add_comment:
57+
runs-on: ubuntu-latest
58+
59+
steps:
60+
- name: Add comment to the issue
61+
uses: actions/github-script@v6
62+
with:
63+
github-token: ${{ secrets.GITHUB_TOKEN }}
64+
script: |
65+
const issueNumber = context.payload.issue.number;
66+
const comment = "Automated issue, no action is required."
67+
68+
github.issues.createComment({
69+
...context.repo,
70+
issue_number: issueNumber,
71+
body: comment
72+
});

0 commit comments

Comments
 (0)