mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 10:22:54 +08:00
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.
(cherry picked from commit a34a22d8b9)
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.
|