mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-10 16:48:40 +08:00
ci: skip semantic pr title for dependabot (@fehmer) (#5776)
This commit is contained in:
parent
a46872847b
commit
f92c1023bb
1 changed files with 2 additions and 1 deletions
3
.github/workflows/semantic-pr-title.yml
vendored
3
.github/workflows/semantic-pr-title.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
- 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:
|
||||
|
@ -49,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() && (steps.lint_pr_title.outputs.error_message != null)
|
||||
if: always() && (github.actor != 'dependabot[bot]') && (steps.lint_pr_title.outputs.error_message != null)
|
||||
with:
|
||||
header: pr-title-lint-error
|
||||
message: |
|
||||
|
|
Loading…
Add table
Reference in a new issue