We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919d579 commit 9870af8Copy full SHA for 9870af8
1 file changed
.github/workflows/manage-issues.yml
@@ -0,0 +1,31 @@
1
+name: Manage issues
2
+
3
+on:
4
+ issues:
5
+ types:
6
+ - opened
7
+ - reopened
8
9
+jobs:
10
+ label_issues:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ issues: write
14
+ steps:
15
+ - run: gh issue edit "$NUMBER" --add-label "$LABELS"
16
+ env:
17
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
+ GH_REPO: ${{ github.repository }}
19
+ NUMBER: ${{ github.event.issue.number }}
20
+ LABELS: "Status: Needs Triage"
21
22
+ add-to-project:
23
+ name: Add issue to project
24
25
26
+ - uses: actions/[email protected]
27
+ with:
28
+ # You can target a project in a different organization
29
+ # to the issue
30
+ project-url: https://github.com/orgs/nfdi4plants/projects/10
31
+ github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
0 commit comments