Skip to content

fix(deps): update module google.golang.org/protobuf to v1.35.2 #136

fix(deps): update module google.golang.org/protobuf to v1.35.2

fix(deps): update module google.golang.org/protobuf to v1.35.2 #136

name: Semantic Pull Request
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
pull-requests: write
jobs:
main:
if: github.repository == 'sarvsav/go-starter-template'
runs-on: ubuntu-latest
name: Semantic Pull Request
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
id: lint-pr-title
with:
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
ignoreLabels: |
bot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add comment to PR
uses: marocchino/sticky-pull-request-comment@v2
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](https://www.conventionalcommits.org/en/v1.0.0/) specification. This helps us to automatically generate changelogs and version bumps.
Details:
```
${{ steps.lint-pr-title.outputs.error_message }}
```
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: ${{ steps.lint-pr-title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-title-lint-error
delete: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}