Skip to content

Commit edb6986

Browse files
authored
Fix minor issue with Dependabot update workflow (#3070)
1 parent 9fc883a commit edb6986

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
update-pull-request:
2424
name: Update pull request
2525
needs: check-workflows
26-
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' }}
26+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && github.actor != 'metamaskbot' }}
2727
uses: ./.github/workflows/update-pull-request.yml
2828
with:
2929
dependabot: true

.github/workflows/update-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
fail-on-cache-miss: true
221221
- name: Set commit prefix
222222
if: ${{ inputs.dependabot == true }}
223-
run: echo "COMMIT_PREFIX='[dependabot skip] '" >> "$GITHUB_ENV"
223+
run: echo "COMMIT_PREFIX=[dependabot skip] " >> "$GITHUB_ENV"
224224
- name: Commit yarn.lock
225225
run: |
226226
git add yarn.lock

0 commit comments

Comments
 (0)