Releases: OP5dev/TF-via-PR
v13.6.1
uses: op5dev/tf-via-pr@8a5419f58e07d28721f4f9c907c85f3c5648c2b1 # v13.6.1
Fixed
- #488 Job ID determination for matrix strategy with names exceeding 100 characters (thank you, @karolba).
- #491 Fallback on
0
by default if PR number could not be determined.
Improved
- #487 Documentation of
comment-pr: false
option in cron-scheduling workflow example (thank you, @jlkravitz).
View changelog or v13.6.0...v13.6.1
v13.6.0
uses: op5dev/tf-via-pr@17a512ff6f2ec9f5ba7dc80ed26da4c49aa795fa # v13.6.0
Added
- #479 Support for specifying
pr-number
in case of unsupported workflow trigger (thank you, @gowgopal83).
Fixed
Improved
- #469 CI tests for provisioning AWS infrastructure via OIDC authentication.
- #471 Include links from Readme to blog posts and references to this project.
View changelog or v13.5.0...v13.6.0
v13.5.0
uses: op5dev/tf-via-pr@04dca87803245791a61752cda2c2181b4ac91693 # v13.5.0
Added
- #458 Support for
repository_dispatch
,workflow_call
,workflow_dispatch
, andworkflow_run
workflow triggers (thank you, @eumpek).
Improved
- #456 Wording around security hardening of GitHub Actions by pinning to specific commit SHA.
- #457 Always set
GH_HOST
environment variable by dropping the protocol from$GITHUB_SERVER_URL
. - #461 Parsing the
diff
of a plan with indirect changes (e.g., onlymoved
andimported
) used to fail without fallback (thank you, @jemc). - #464 The "(view log)" used to occasionally link to the step before TF-via-PR due to a race-condition.
Removed
-
#462 The
label-pr
option used to create and attachtf:plan
ortf:apply
PR labels using thepull-requests: write
permission, until GitHub made an un-announced and un-documented change to requireissues: write
as well.
Frankly, I think it's a lot to ask of users to trust their infrastructure provisioning to a 3rd party GitHub Action, so every effort is made to reduce TF-via-PR's access footprint and permission scope. To return this behaviour, add the following line to your workflow along withissues: write
permission.run: gh api /repos/${{ github.repository }}/issues/${{ github.event.number || github.event.issue.number }}/labels --field "labels[]=tf:${{ github.event_name == 'push' && 'apply' || 'plan' }}"
View changelog or v13.4.0...v13.5.0
v13.4.0
View changelog or v13.3.2...v13.4.0
Added
- #454 Support for GitHub Enterprise data residency in the EU for plan-file artifact upload mechanism (thank you, @ArkShocer).
uses: op5dev/tf-via-pr@95c08e93862da6848102e6f44654fd12543afc70 # v13.4.0
v13.3.2
View changelog or v13.3.1...v13.3.2
Fixed
- #453 Per recent unannounced change, GitHub API now requires
issues: write
permission in order to create PR labels. As a GitHub Action, we don't want to extend our access/footprint any more than needed, so this patch suppresses any error from the "Label PR" step until GitHub makes a concrete announcement (thank you, @UncleSamSwiss).
uses: op5dev/tf-via-pr@15e61a8f59fb412ccdc97e69a83f648284a12ec0 # v13.3.2
v13.3.1
View changelog or v13.3.0...v13.3.1
Fixed
- #451 For dynamic matrix jobs, retry with exponential backoff until the job ID is found or a timeout occurs (thank you, @jemc).
uses: op5dev/tf-via-pr@5788866f735f140e813f781b5f67838f956041b7 # v13.3.1
v13.3.0
View changelog or v13.2.1...v13.3.0
Added
- #449 New input options
expand-diff
andexpand-summary
to toggle expanded view of the collapsible sections (thank you, @jemc).
uses: op5dev/tf-via-pr@d3a806bd18d5a7ea4e94b506bfb2286aa21e8eb3 # v13.3.0
v13.2.1
View changelog or v13.2.0...v13.2.1
Fixed
- #447 Error when
plan-parity: true
without any changes.
uses: op5dev/tf-via-pr@f79c04e41fa1b365307a11a43a93e35c4b3d0adc # v13.2.1
v13.2.0
Tip
- Want to supply your own existing plan file to review and apply? Now you can with
plan-file
input! - Retain plan file "tfplan" for subsequent steps in the workflow with
preserve-plan
input.
Added
- #442 New
preserve-plan
input to preserve the plan file in the given working directory after workflow execution (default:false
). - #442 New
upload-plan
input to upload plan file as GitHub workflow artifact (default:true
). - #443 New
plan-file
input to supply existing plan file path instead of the auto-generated one (example:path/to/tf.plan
).
uses: op5dev/tf-via-pr@ba09f8cdf57b9b00d83be1d32570f20af76c4896 # v13.2.0
v13.1.7
Fixed
- #441 Support for nested matrix structure in addition to simple/flattened matrix input (thank you, @cornerman).
uses: op5dev/tf-via-pr@3242aa4f17ce56110dcd94a740826be5ae025711 # v13.1.7