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: Auto apply triage label and add to project | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
jobs: | ||
label_and_assign_project: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
contents: read | ||
project: write | ||
Check failure on line 16 in .github/workflows/auto-apply-triage-label-and-default-project.yaml GitHub Actions / Auto apply triage label and add to projectInvalid workflow file
|
||
steps: | ||
- name: Add "triage" label if no milestone | ||
if: ${{ github.event.issue.milestone == null }} | ||
run: | | ||
gh issue edit ${{ github.event.issue.number }} \ | ||
--repo quantumjs/launch-track \ | ||
--add-label triage | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Add issue to project | ||
uses: actions/add-to-project@v1 | ||
with: | ||
project-url: https://github.com/orgs/quantumjs/projects/1 | ||
content-id: ${{ github.event.issue.node_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |