Skip to content

Commit

Permalink
Fixes jhipster#1081 skip auto run pr merge in main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfreaker authored Mar 19, 2022
1 parent 035c8b4 commit 01041ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
pull-requests: write
contents: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'jhipster/jhipster-lite' && github.event.pull_request.user.login == 'dependabot[bot]' }}
if: ${{ github.repository == 'jhipster/jhipster-lite' && github.ref != 'refs/heads/main' && github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
Expand Down

0 comments on commit 01041ea

Please sign in to comment.