When setting ignoreDatesOnPullRequests: true
and running a GitHub Actions build that is on a pull request, but not specifically triggered by a pull_request
event, ci-info
fails to detect that the push
build is running on a pull request. This leads to lint errors in unrelated code for pull requests (usually, at the start of a month π ).
It's probably beyond the scope of this library to detect whether a push also happens to be running on a pull request, but maybe it could provide some kind of ignoreDates
option so users can just decide for themselves (in our case, we'd probably do ignoreDates: !!process.env.CI
or something).
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too