Skip to content

Commit

Permalink
Lock down PRs and issues automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
kblaschke committed Jul 29, 2024
1 parent c53e732 commit 4abdeb7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lockdown-prs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Repo Lockdown'

on:
issues:
types: opened
pull_request_target:
types: opened

permissions:
issues: write
pull-requests: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
issue-comment: >
This repository does not accept bug reports. Please report any issues in the
[main projectM repository](https://github.com/projectM-visualizer/projectm/issues/new/choose).
pr-comment: >
This repository _does not accept_ pull requests, it is just a personal working fork. Please open
all pull requests in the upstream repository
[projectM-visualizer/frontend-sdl2](https://github.com/projectM-visualizer/frontend-sdl2/pulls)!

0 comments on commit 4abdeb7

Please sign in to comment.