Skip to content

Commit

Permalink
New Issue and PR creation lockdown (#6396)
Browse files Browse the repository at this point in the history
* Lets lockdown creation of new issues and new PRs

* Lets lockdown PRs also

* adding the signature

Signed-off-by: Krishna Muriki <[email protected]>

* Formating of the lockdown.yml

Signed-off-by: Krishna Muriki <[email protected]>

* Bug fix, include with

Signed-off-by: Krishna Muriki <[email protected]>

* Removing lockdowns on PRs and limiting this only to issues

Signed-off-by: Krishna Muriki <[email protected]>

* Update lockdown.yml

uses need to have with in it.
  • Loading branch information
kmuriki authored Mar 1, 2022
1 parent 2f16701 commit 6404175
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lockdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: RepoLockdown
on:
issues:
types: opened

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v2
with:
issue-comment: >
New issues are no longer accepted in this repository. If singularity --version says singularity-ce, submit instead to https://github.com/sylabs/singularity, otherwise submit to https://github.com/apptainer/apptainer.

0 comments on commit 6404175

Please sign in to comment.