diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a4eb4d004..d9ae65fbd2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: update-pull-request: name: Update pull request needs: check-workflows - if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' }} + if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && github.actor != 'metamaskbot' }} uses: ./.github/workflows/update-pull-request.yml with: dependabot: true diff --git a/.github/workflows/update-pull-request.yml b/.github/workflows/update-pull-request.yml index 0ac9919d1e..793266ea50 100644 --- a/.github/workflows/update-pull-request.yml +++ b/.github/workflows/update-pull-request.yml @@ -220,7 +220,7 @@ jobs: fail-on-cache-miss: true - name: Set commit prefix if: ${{ inputs.dependabot == true }} - run: echo "COMMIT_PREFIX='[dependabot skip] '" >> "$GITHUB_ENV" + run: echo "COMMIT_PREFIX=[dependabot skip] " >> "$GITHUB_ENV" - name: Commit yarn.lock run: | git add yarn.lock