Skip to content

Commit

Permalink
Automatically lock/unlock issues on close/reopen
Browse files Browse the repository at this point in the history
  • Loading branch information
IOrlandoni authored Oct 1, 2019
1 parent f149f09 commit 4f29f7c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lock-closed-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lock closed issue

on:
issues:
types: [closed]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: Dunning-Kruger/lock-issues@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
13 changes: 13 additions & 0 deletions .github/workflows/unlock-reopened-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Unlock reopened issue

on:
issues:
types: [reopened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: Dunning-Kruger/unlock-issues@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 4f29f7c

Please sign in to comment.