diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index f5bd49d056..8aab44e794 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -3952,7 +3952,7 @@ jobs: dependabot: runs-on: ubuntu-20.04 # needs: [ validate-success ] - # if: github.event.pull_request.user.login == 'dependabot[bot]' + if: github.event.pull_request.user.login == 'dependabot[bot]' permissions: contents: write pull-requests: write @@ -3962,10 +3962,3 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | echo ${{ github.event.pull_request.user.login }} - - if [ "${{ github.event.pull_request.user.login }}" == "dependabot[bot]" ]; then - echo "no space" - fi - if [ "${{ github.event.pull_request.user.login }}" == "dependabot [bot]" ]; then - echo "with space" - fi