Immediately after switching the page, it will work with CSR.
Please reload your browser to see how it works.
on:
repository_dispatch:
- security_scan
- security_scan::*
Why would you want to do this?We centralize our release pipelines as it's the only way to force repositories through a defined reusable workflow (we don't want our product teams to have to maintain them).
This allows us to dispatch an event like so:
{
"event_type": "security_scan::$product_name::$version",
"client_payload": {
"field": "value"
}
}
Then it is far easier to identify which product and version a workflow is running when looking in the Actions tab of our central release repository.I tend to prefer either:
- Using a build-system (e.g. Make) to encode logic and just invoke that from GitHub Actions; or
- Writing a small CLI program and then invoke that from GitHub Actions
It's so much easier to debug this stuff locally than in CI.
So an interesting trick, but I don't see where it would be useful.
This generation will shudder when they are asked to bring discipline to deployments built from github actions.
https://github.com/jstrieb/just.sh/blob/2da1e2a3bfb51d583be0...