-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optionally output relative PR age (#19)
* Conditionally output relative PR age If the `SHOW_PR_AGE` environment variable is "true", include the PR's relative age (from now) in the output. The relative ages are: - "less than a day ago" - "1 day ago" - "n days ago" Given the action only runs once/day, I didn't think it was helpful to include units less than a day. * Address PR comments Co-authored-by: Sam Cutler <[email protected]> Co-authored-by: Ashleigh Carr <[email protected]> * Avoid nested string formatting --------- Co-authored-by: Sam Cutler <[email protected]> Co-authored-by: Ashleigh Carr <[email protected]> Co-authored-by: Mario Savarese <[email protected]>
- Loading branch information
1 parent
0d7f25a
commit f7c799f
Showing
5 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters