Skip to content

Commit

Permalink
refactor(automerge): No need for env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wmentzel committed Mar 11, 2024
1 parent 801fbe0 commit 9ffaa3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/template_automerge_dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
MERGE_OPTIONS=()
case "${{ env.STRATEGY }}" in
case "${{ inputs.strategy }}" in
"rebase")
MERGE_OPTIONS+=("--rebase")
;;
Expand All @@ -62,7 +62,7 @@ jobs:
;;
esac
if [ "${{ env.FORCE }}" == 'true' ]; then
if [ "${{ inputs.force }}" == 'true' ]; then
MERGE_OPTIONS+=("--admin")
else
MERGE_OPTIONS+=("--auto")
Expand All @@ -73,5 +73,3 @@ jobs:
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
STRATEGY: ${{ inputs.strategy }}
FORCE: ${{ inputs.force }}

0 comments on commit 9ffaa3d

Please sign in to comment.