Dry-run input
Input
Name: dry-run
Type: boolean
Default value: false
Description
This input will let you run the stale workflow without performing any kind of Data Manipulation Language.
Your issues and pull requests will be safe, no label nor comment will be added, nothing will be closed.
This is a good way to experiment with your configuration so that you won't have any surprises.
astuce
The logs will give you a lot of information to know what is happening during the processing.
Check also the statistics at the end of the logs to have an overhaul idea of what happened.
Fast configuration testing
By using this input in association with a manually triggered workflow, it's very convenient and fast to test your configuration.
name: Stale
on:
workflow_dispatch:
# ...
Example
# ...
name: Stale
id: stale
uses: sonia-corporation/stale@latest
with:
dry-run: true