use try{...}catch(e){...} can crash #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Add labeled issues to project board" | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
assign: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maintenance Issues | |
id: add-project-maintenance | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/CyclopsMC/projects/3 | |
github-token: ${{ secrets.PAT }} | |
labeled: bug, performance, question, more-information-needed | |
label-operator: OR | |
- name: Development Issues | |
id: add-project-development | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/CyclopsMC/projects/4 | |
github-token: ${{ secrets.PAT }} | |
labeled: feature-long-term, feature | |
label-operator: OR | |
- name: Feature Accepted | |
if: | | |
contains(github.event.issue.labels.*.name, 'feature') | |
uses: titoportas/[email protected] | |
with: | |
project-url: https://github.com/orgs/CyclopsMC/projects/4 | |
github-token: ${{ secrets.PAT }} | |
item-id: ${{ steps.add-project-development.outputs.itemId }} | |
field-keys: Status | |
field-values: 'Accepted (To Do)' | |
- name: More Information Needed | |
if: | | |
contains(github.event.issue.labels.*.name, 'more-information-needed') | |
uses: titoportas/[email protected] | |
with: | |
project-url: https://github.com/orgs/CyclopsMC/projects/3 | |
github-token: ${{ secrets.PAT }} | |
item-id: ${{ steps.add-project-maintenance.outputs.itemId }} | |
field-keys: Status | |
field-values: 'On hold (awaiting input)' |