Skip to content

Commit

Permalink
ci: disable deploy runs with dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro authored May 22, 2023
1 parent bf57d39 commit a6b1d50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ jobs:
runs-on: ubuntu-latest
environment: en.wikipedia
# `main` branch or version release only
if: ${{ startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/heads/main' }}
if: ${{ (
startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/heads/main'
) && github.event.head_commit.author.name != 'dependabot[bot]' }}
steps:
- name: Download transpiled code
uses: actions/download-artifact@v3
Expand Down

0 comments on commit a6b1d50

Please sign in to comment.