File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 project-url : https://github.com/orgs/cantinilab/projects/2
2525 github-token : ${{ secrets.ADD_TO_PROJECT_PAT }}
26+ # 2) (ISSUES) make/update label 'repo:<repo>'
27+ - name : Ensure repo label exists (issues)
28+ if : github.event_name == 'issues'
29+ uses : peter-evans/create-or-update-label@v4
30+ with :
31+ name : repo:${{ github.event.repository.name }}
32+ color : 666666
33+ description : Issue origin repository
34+
35+ # 3) (ISSUES) apply the label 'repo:<repo>' to the issue
36+ - name : Add repo label to issue
37+ if : github.event_name == 'issues'
38+ uses : actions-ecosystem/action-add-labels@v1
39+ with :
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
41+ labels : repo:${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments