mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-26 18:09:40 +08:00
ci: skip semantic pr title for dependabot (@fehmer) (#5786)
This commit is contained in:
parent
fa9e877cc3
commit
ffb04f2af5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/semantic-pr-title.yml
vendored
4
.github/workflows/semantic-pr-title.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue