Skip to content

Commit

Permalink
update workflow (#516)
Browse files Browse the repository at this point in the history
* add auto respond
* add if conditional
  • Loading branch information
kjaymiller authored Oct 6, 2024
1 parent 3806d8d commit dd313e0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/conference_auto_respond.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const issueNumber = context.payload.issue.number;
const issueNumber = context.issue.number;
const comment = "Thank you for submitting this issue. A member of the triage team will review the information and followup on this request. There is no code action to be taken.";
await github.issues.createComment({
...context.repo,
issue_number: issueNumber,
body: comment
Expand All @@ -35,10 +33,10 @@ jobs:
if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference_accepted') }}
with:
script: |
const issueNumber = context.payload.issue.number;
const issueNumber = context.issue.number;
const comment = "Your conference submission has been accepted. You will shortly see your conference on the website."
await github.issues.createComment({
github.rest.issues.createComment({
...context.repo,
issue_number: issueNumber,
body: comment
Expand Down

0 comments on commit dd313e0

Please sign in to comment.