File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # Adds the "S-triage" label ot any issue that gets opened.
2+ S-triage :
3+ - ' /.*/'
Original file line number Diff line number Diff line change 1+ name : " Auto-add GH issues to project"
2+ # Add all issues opened to the issue board for triage and assignment
3+ # GitHub Org and Project Automation
4+ # https://www.notion.so/nibiru/GitHub-Org-and-Project-Automation-c771d671109849ee9fda7c8b741cd66a?pvs=4
5+
6+ on :
7+ issues :
8+ types : ["opened", "labeled"]
9+
10+ permissions :
11+ issues : write
12+ contents : read
13+
14+ jobs :
15+ # https://github.com/actions/add-to-project
16+ add-to-project :
17+ name : " Add GH ticket to project"
18+ runs-on : ubuntu-latest
19+ steps :
20+ 21+ with :
22+ project-url : https://github.com/orgs/NibiruChain/projects/8
23+ github-token : ${{ secrets.NIBIRU_PM }}
24+
25+ label-triage :
26+ name : " Add GH ticket to project"
27+ runs-on : ubuntu-latest
28+ # The action comes from the "Activty types" for the "issues" webhook event
29+ # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#issues
30+ if : " github.event.action == 'opened'"
31+ steps :
32+ 33+ if : join(github.event.issue.labels) == ''
34+ with :
35+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
36+ configuration-path : " .github/issue-labeler-config.yml"
37+ enable-versioned-regex : 0
38+ not-before : " 2024-05-01T00:00:00Z"
You can’t perform that action at this time.
0 commit comments