Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kimromi/issue-from-collaborators-only
🫥 [GitHub Actions] Delete issues and issue comments other than the repository collaborators
https://github.com/kimromi/issue-from-collaborators-only
comments github-actions issues
Last synced: about 2 months ago
JSON representation
🫥 [GitHub Actions] Delete issues and issue comments other than the repository collaborators
- Host: GitHub
- URL: https://github.com/kimromi/issue-from-collaborators-only
- Owner: kimromi
- License: mit
- Created: 2022-05-16T13:10:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T06:02:45.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T07:35:34.023Z (9 months ago)
- Topics: comments, github-actions, issues
- Language: TypeScript
- Homepage:
- Size: 321 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kimromi/issue-from-collaborators-only
GitHub Actions to delete issues and issue comments other than the repository collaborators.
```yaml
name: Protect issues and comments
on:
issues:
types:
- opened
issue_comment:
types:
- created
jobs:
protect-issues:
runs-on: ubuntu-latest
steps:
- uses: kimromi/issue-from-collaborators-only@main
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
```