Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 3, 2024
1 parent be142a2 commit afcd3b2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3951,8 +3951,8 @@ jobs:

dependabot:
runs-on: ubuntu-20.04
needs: [ validate-success ]
if: github.event.pull_request.user.login == 'dependabot[bot]'
# needs: [ validate-success ]
# if: github.event.pull_request.user.login == 'dependabot[bot]'
permissions:
contents: write
pull-requests: write
Expand All @@ -3961,5 +3961,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve ${{ github.event.pull_request.html_url }} --comment "LGTM :thumbsup:"
gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
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

0 comments on commit afcd3b2

Please sign in to comment.