
This brings back the "minimize CI reviews after dismissal" job that was previously removed. The first time around, we had a single job triggered by the `pull_request_review` event. This lacks permission to do meaningful stuff, though. This time, we trigger an empty no-op job on `pull_request_review` and then run a second workflow on `workflow_run`. This can run with the proper permissions.
18 lines
259 B
YAML
18 lines
259 B
YAML
name: Review dismissed
|
|
|
|
on:
|
|
pull_request_review:
|
|
types: [dismissed]
|
|
|
|
permissions: {}
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
trigger:
|
|
runs-on: ubuntu-24.04-arm
|
|
steps:
|
|
- run: echo This is a no-op only used as a trigger for workflow_run.
|