Skip to content

chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.9.0 #101

chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.9.0

chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.9.0 #101

Workflow file for this run

name: "PR Lint"
on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
jobs:
pr_title:
name: Title
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
id: lint_pr_title
with:
# Configure that a scope must always be provided.
requireScope: false
# For work-in-progress PRs you can typically use draft pull requests
# from GitHub. However, private repositories on the free plan don't have
# this option and therefore this action allows you to opt-in to using the
# special "[WIP]" prefix to indicate this state. This will avoid the
# validation of the PR title and the pull request checks remain pending.
# Note that a second check will be reported if this is enabled.
wip: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: marocchino/[email protected]
# 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 }}
with:
header: pr-title-lint-error
message: |
Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
Details:
```
${{ steps.lint_pr_title.outputs.error_message }}
```
# Delete a previous comment when the issue has been resolved
- uses: marocchino/[email protected]
if: ${{ steps.lint_pr_title.outputs.error_message == null }}
with:
header: pr-title-lint-error
delete: true