The workflow approval action lets a trusted collaborator approve CI runs from
public forks when the collaborator comments /workflow-approve on
the pull request. The commenter must have triage access or higher.
Use the action from a workflow triggered by issue_comment:
To publish an additional image from a subdirectory Makefile (for example
generator/ in snmp_exporter), pass working_directory and disable manifests
when that Makefile has no docker-manifest target. For docker-only release
publishes, set skip_github_release: true so promu does not attach tarballs to
the GitHub release:
Prometheus Github Actions
Set of GitHub actions shared by GitHub projects in the Prometheus Ecosystem.
Usage
For a full working release example, see examples/ci.yml.
Approving pull request workflows
The workflow approval action lets a trusted collaborator approve CI runs from public forks when the collaborator comments
/workflow-approveon the pull request. The commenter must have triage access or higher.Use the action from a workflow triggered by
issue_comment:Pin the action to a full commit SHA.
Secondary images
To publish an additional image from a subdirectory Makefile (for example
generator/in snmp_exporter), passworking_directoryand disable manifests when that Makefile has nodocker-manifesttarget. For docker-only release publishes, setskip_github_release: trueso promu does not attach tarballs to the GitHub release: