We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f1cb8 commit 0bc2227Copy full SHA for 0bc2227
.github/workflows/remove-assignees.yml
@@ -0,0 +1,20 @@
1
+name: 'Remove Assignees for stale issue'
2
+on:
3
+ issues:
4
+ types: [labeled]
5
+
6
+permissions:
7
+ issues: write
8
9
+jobs:
10
+ remove-assignees:
11
+ if: github.event.label.name == 'stale'
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: 이슈 할당 해제
15
+ run: |
16
+ curl -X PATCH \
17
+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
18
+ -H "Accept: application/vnd.github.v3+json" \
19
+ "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}" \
20
+ -d '{"assignees":[]}'
0 commit comments