Skip to content

Commit

Permalink
Update issue workflow processing (#31098)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Nov 21, 2023
1 parent a59bf64 commit e0ae812
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/issue-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,11 @@ jobs:
repo: context.repo.repo,
assignees: ["guardrex"]
})
process-not-triaged-label:
if: (github.event.label.name == 'aspnetcore-blazorhybrid/tech' || github.event.label.name == 'aspnetcore-blazor/tech') && contains(github.event.issue.labels.*.name, '⌚ Not Triaged')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: [":watch: Not Triaged"]
})
if (contains(github.event.issue.labels.*.name, '⌚ Not Triaged')) {
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: [":watch: Not Triaged"]
})
}

0 comments on commit e0ae812

Please sign in to comment.