Skip to content

Commit

Permalink
fix: auto-approve ref
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
  • Loading branch information
rdhar committed Oct 10, 2024
1 parent 05cf206 commit 8c01d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ module.exports = async ({ context, core, exec, github }) => {
// TF apply.
if (process.env.arg_command === "apply") {
// Download the TF plan file if not auto-approved.
if (!/^true$/i.test(process.env.auto_approve)) {
if (!/^true$/i.test(process.env.arg_auto_approve)) {
// TF plan anew for later comparison if plan_parity is enabled.
if (/^true$/i.test(process.env.plan_parity)) {
await exec_tf(
Expand Down

0 comments on commit 8c01d91

Please sign in to comment.