Skip to content

Commit

Permalink
Automatically cross off linked issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anka-213 authored and mengwong committed Mar 5, 2021
1 parent aadf529 commit 4e38f49
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cross-off-linked-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Cross off linked issues
on:
# the closed event type causes unchecked checkbox references to be checked / marked complete
# the reopened event type causes checked checkbox references to be unchecked / marked incomplete
issues:
types: [closed, reopened]

# the action works on pull request events as well
pull_request:
types: [closed, reopened]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cross off any linked issue and PR references
uses: jonabc/sync-task-issues@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4e38f49

Please sign in to comment.