Closed jamacku closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.38%. Comparing base (
60d633f
) to head (8fb24e0
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Also, you also have access to these variables within the typescript code: https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts#L6-L24
Might be good, because there you can actually check what trigger it was and so on.
[test]
[test]
I think this is a breaking change. I would consider releasing it with tfaga 3.0 sometime in the future (although 3.0 is not yet even planned).
I don't think this is a breaking change, but it changes behavior a bit and might surprise some users.
I don't think this is a breaking change, but it changes behavior a bit and might surprise some users.
Initially I thought so too, but it is a breaking change because it changes from master
-> github.ref
, which at minimum will affect PR builds.
Initially I thought so too, but it is a breaking change because it changes from
master
->github.ref
, which at minimum will affect PR builds.
But only in the sense that TF would be using plans from the PR branch, right?
Initially I thought so too, but it is a breaking change because it changes from
master
->github.ref
, which at minimum will affect PR builds.But only in the sense that TF would be using plans from the PR branch, right?
As far as I can think of that would be the only implication, but even there that is quite limited for repos that have master
as the main branch as that is being discouraged. You may also have discrepancy when it is run on tag.
But, why guess, there are only 28 instances of the action usage: https://sourcegraph.com/search?q=context:global+++%22uses:+sclorg/testing-farm-as-github-action%22+&patternType=keyword&sm=0
For sure I would add it into v3
. Let's add it there for sure.
[test]
By default use
github.base_ref
and usemaster
as a fallback.This will primarily help when running on
pull_request_target
.