benbalter/Last Run Action
Determine when a workflow was last run and/or update the last run time.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Operation mode: 'get', 'set', or 'get-and-set'. | yes | get |
| fail-if-missing | If true and no previous timestamp is found (or invalid), the action fails. | no | false |
Outputs
| name | description |
|---|---|
| last-run | The last time the workflow was run, in ISO 8601 format. |
| first-run | 'true' when no prior timestamp was found (first run / newly seeded); 'false' otherwise. Only meaningful for modes that include `get`. |