We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fee871 commit 09108feCopy full SHA for 09108fe
.github/workflows/conference.yml
@@ -53,3 +53,21 @@ jobs:
53
labels: |
54
report
55
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
+ if: ${{ github.event.issue.user.type != 'User' }} #adds comment only if the issue is created by a bot
63
+ with:
64
+ github-token: ${{ secrets.GITHUB_TOKEN }}
65
+ script: |
66
+ const issueNumber = context.payload.issue.number;
67
+ const comment = "Automated issue, no action is required."
68
69
+ github.issues.createComment({
70
+ ...context.repo,
71
+ issue_number: issueNumber,
72
+ body: comment
73
+ });
0 commit comments