-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1.19 KB
/
we-don-t-assign-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: We don't assign issues
on:
issues:
types: [labeled]
permissions:
contents: read
jobs:
issue-labeled:
permissions:
issues: write
pull-requests: write
if: github.repository == 'Open-reSource/labs-we-don-t-assign-issues'
runs-on: ubuntu-latest
steps:
- name: Answer with a comment
if: github.event.label.name == 'we don''t assign issues'
uses: actions-cool/issues-helper@v3
with:
actions: "create-comment"
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Hello @${{ github.event.issue.user.login }}.
Thanks for contributing to this repository.
As mentioned in [our contributing guidelines](https://github.com/Open-reSource/labs-we-don-t-assign-issues/blob/main/CONTRIBUTING.md), we don't assign issues in this repository.
Feel free to directly create a PR if the context is obvious, or explain what changes could be done as a comment here so that maintainers can validate the direction and potential fix you might suggest.
- name: Remove label
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: |
we don't assign issues