Timestamps
Reviewpad timestamps allow us to trigger workflows based on time.
We are able to use RFC3339 timestamps or relative timestamps.
RFC3339 and similar Timestamps
Here we can use a timestamp in a similar RFC3339
format:
- YYYYMMDD - e.g. 20220405
- YYYY-MM-DD - e.g. 2022-04-05
- YYYYMMDDTHH:MM:SS - e.g. 20220405T22:01:50
- YYYY-MM-DDTHH:MM:SS - e.g. 2022-04-05T22:01:50
Relative Timestamps
Use time as expression TIME year|month|day|week|hour|minute ago
:
- 15 days ago
- 3 months ago
- 1 hour ago
📘 Aladino Syntax
Check Aladino Syntax for more details about timestamps.
📄️ Label on change freeze
An example of adding a label to not merge a pull request when on change freeze.
📄️ Notify when long live pull request
An example of notifying the pull request author when the pull request has been opened for a long time.