Skip to content

Commit

Permalink
fix: removed env constants and used them directly (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed authored Oct 4, 2022
1 parent dba70b5 commit 9d0577f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/update-browserlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 9d0577f

Please sign in to comment.