optivem/Should Run Acceptance Stage
Determines if acceptance stage should run based on Docker image creation timestamp or force run flag. Accepts Docker inspect JSON data to compare image creation time with last successful workflow run.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| latest-image-timestamp | Timestamp of the latest Docker image creation (ISO 8601 format) | yes | — |
| acceptance-stage-repo-owner | Repository owner (organization or username) | no | ${{ github.repository_owner }} |
| acceptance-stage-repo-name | Repository name | no | ${{ github.event.repository.name }} |
| acceptance-stage-workflow-name | Name of the acceptance stage workflow | no | acceptance-stage |
| force-run | Force run even if no new images (bypasses image detection) | no | false |
Outputs
| name | description |
|---|---|
| should-run | Whether the acceptance stage should run (true/false) |