ci: skip semantic pr title for dependabot (@fehmer) (#5786)

This commit is contained in:
Christian Fehmer 2024-08-15 00:23:17 +02:00 committed by GitHub
parent fa9e877cc3
commit ffb04f2af5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,11 +15,11 @@ jobs:
main:
name: check
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
steps:
- name: Lint and verify PR title
uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
if: github.actor != 'dependabot[bot]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@ -50,7 +50,7 @@ jobs:
- uses: marocchino/sticky-pull-request-comment@v2
# When the previous steps fails, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: always() && (github.actor != 'dependabot[bot]') && (steps.lint_pr_title.outputs.error_message != null)
if: always() && (steps.lint_pr_title.outputs.error_message != null)
with:
header: pr-title-lint-error
message: |