Skip to content

Commit

Permalink
Lock closed issue を導入 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT authored May 5, 2024
1 parent cc2313f commit 122b8c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lock issue

on:
issues:
types:
- closed
- reopened

jobs:
lock:
name: Lock
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Lock issue
uses: s1204IT/[email protected]
if: github.event.issue.state == 'closed'
id: locked
- name: Unlock issue
uses: s1204IT/[email protected]
if: steps.locked.outcome != 'success'

0 comments on commit 122b8c0

Please sign in to comment.