Skip to content

Commit

Permalink
test.yml: only run docker login if PR isn't authored by dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Oct 28, 2024
1 parent 26786ab commit c88d28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- uses: docker/login-action@v3 # helps with rate limit issues
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && github.actor != 'dependabot[bot]'
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand Down

0 comments on commit c88d28f

Please sign in to comment.