From 9d0577fd93e8ca3d730a2467eb188d495fd563c2 Mon Sep 17 00:00:00 2001 From: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com> Date: Tue, 4 Oct 2022 18:23:56 +0500 Subject: [PATCH] fix: removed env constants and used them directly (#657) --- .github/workflows/update-browserlist.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/update-browserlist.yml b/.github/workflows/update-browserlist.yml index 5eb458acb..be94d10b9 100644 --- a/.github/workflows/update-browserlist.yml +++ b/.github/workflows/update-browserlist.yml @@ -4,12 +4,6 @@ on: - cron: '0 0 * * 1' workflow_dispatch: -env: - PR_TITLE: Update browserslist DB - COMMIT_MESSAGE: "chore: update browserslist" - PR_BODY: Updated browserlist DB - BRANCH_NAME: "update-browserslist" - jobs: update-dep: runs-on: ubuntu-latest @@ -42,6 +36,6 @@ jobs: run: | cd $GITHUB_WORKSPACE/testeng-ci python -m jenkins.pull_request_creator --repo-root=$GITHUB_WORKSPACE \ - --target-branch="master" --base-branch-name="${{ BRANCH_NAME }}" \ - --commit-message="${{ COMMIT_MESSAGE }}" --pr-title="${{ PR_TITLE }}" \ - --pr-body="${{ PR_BODY }}" --delete-old-pull-requests --output-pr-url-for-github-action + --target-branch="master" --base-branch-name="update-browserslist" \ + --commit-message="chore: update browserslist" --pr-title="Update browserslist DB" \ + --pr-body="Updated browserlist DB" --delete-old-pull-requests --output-pr-url-for-github-action