diff --git a/.github/workflows/issue-lock.yml b/.github/workflows/issue-lock.yml new file mode 100644 index 000000000..d2b906dfc --- /dev/null +++ b/.github/workflows/issue-lock.yml @@ -0,0 +1,22 @@ +name: 'Lock new issues' + +on: + issues: + types: opened + +permissions: + issues: write + +jobs: + action: + runs-on: ubuntu-latest + if: github.repository == 'reactplay/react-play' + steps: + - uses: dessant/repo-lockdown@v3 + with: + close-issue: false + exclude-issue-labels: '🏁 status: ready for dev' + process-only: 'issues' + skip-closed-issue-comment: true + issue-comment: > + To reduce notifications, issues are locked. Your issue will be unlocked when we add the label `🏁 status: ready for dev`.