* Updated the extension_dispatch_event.yml GHA workflow to only pass-on select information from context.
* Explicitly dropped non-required github_token permissions (hardening).
* Pinned actions/github-script to a specific commit SHA (v8.0.0) instead of a floating tag.
* Added retries to mitigate transient failures when calling GH API for workflow dispatch.
---------
Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>
New:
- Adding or removing a label which contains "skip-" will trigger a dispatch event,
- Adding a label which contains "refresh-" will trigger a dispatch event.
---------
Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>
The workflow is dormant (skipped) by default (due to env var setting),
but can be enabled on select forks, allowing to intercept branch events
and run additional CI/CD tasks which are external to this repository.
Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>