Skip to content

Commit

Permalink
Update reopen-issue-on-comment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 authored Oct 11, 2022
1 parent c9278b5 commit 50ac0c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/reopen-issue-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ on:


jobs:
create_issue:
reopen_issue:
runs-on: ubuntu-latest
permissions:
issues: write
statuses: write
steps:
- name: Print context
run: |
echo "$GITHUB_CONTEXT"
- name: Reopen Issue
run: |
curl \
Expand All @@ -22,4 +25,7 @@ jobs:
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }} \
-d '{"state":"open"}' \
--fail
env:
GITHUB_CONTEXT: ${{ toJson(github) }}


0 comments on commit 50ac0c8

Please sign in to comment.