From 6354ba6bb8e68398531e37bf6222a8b32be3514e Mon Sep 17 00:00:00 2001 From: Vitaly Turovsky Date: Wed, 23 Oct 2024 00:36:58 +0300 Subject: [PATCH] ci: update variable name from env to vars in AUTO_DEPLOY_PRS check in preview.yml --- .github/workflows/preview.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 2e7f933fd..c5bb47dcd 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -20,10 +20,10 @@ jobs: ) || ( github.event_name == 'pull_request' && ( - contains(env.AUTO_DEPLOY_PRS, $'\n' + toString(github.event.pull_request.number)) + $'\n' || - startsWith(env.AUTO_DEPLOY_PRS, toString(github.event.pull_request.number) + $'\n') || - endsWith(env.AUTO_DEPLOY_PRS, $'\n' + toString(github.event.pull_request.number)) || - env.AUTO_DEPLOY_PRS == toString(github.event.pull_request.number) + contains(vars.AUTO_DEPLOY_PRS, $'\n' + toString(github.event.pull_request.number)) + $'\n' || + startsWith(vars.AUTO_DEPLOY_PRS, toString(github.event.pull_request.number) + $'\n') || + endsWith(vars.AUTO_DEPLOY_PRS, $'\n' + toString(github.event.pull_request.number)) || + vars.AUTO_DEPLOY_PRS == toString(github.event.pull_request.number) ) ) permissions: