Release build resources early in non-watch mode and prevent process hang on unhandled error #29924
Workflow file for this run
This file contains hidden or 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: DevInfra | |
| on: | |
| # zizmor: ignore[dangerous-triggers] - {Trigger is safe as workflow does not checkout untrusted code} | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] | |
| issues: | |
| types: [opened, reopened] | |
| # Declare default permissions as read only. | |
| permissions: | |
| contents: read | |
| jobs: | |
| labels: | |
| if: github.event_name == 'pull_request_target' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: angular/dev-infra/github-actions/labeling/pull-request@24ba9709ca4bf6548bba6a9abfe2799e90645a60 # main | |
| with: | |
| angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} | |
| post_approval_changes: | |
| if: github.event_name == 'pull_request_target' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: angular/dev-infra/github-actions/post-approval-changes@24ba9709ca4bf6548bba6a9abfe2799e90645a60 # main | |
| with: | |
| angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} | |
| issue_labels: | |
| if: github.event_name == 'issues' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: angular/dev-infra/github-actions/labeling/issue@24ba9709ca4bf6548bba6a9abfe2799e90645a60 # main | |
| with: | |
| angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} | |
| google-generative-ai-key: ${{ secrets.GOOGLE_GENERATIVE_AI_KEY }} |