fix: removed env constants and used them directly (#657)

This commit is contained in:
Muhammad Abdullah Waheed
2022-10-04 18:23:56 +05:00
committed by GitHub
parent dba70b557c
commit 9d0577fd93

View File

@@ -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