Correctly propagate errors and abort the build for certain remote errors. #2641
Workflow file for this run
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: "PR Labeler" | |
on: | |
pull_request_target: | |
types: ["opened", "reopened", "ready_for_review"] | |
permissions: | |
contents: read | |
jobs: | |
triage: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | |
if: ${{ github.event.pull_request.draft == false && github.event.pull_request.user.login != 'bazel-io' }} |