Skip to content

Commit

Permalink
feat(RELTEC-12364): add action to lint commit messages in prs
Browse files Browse the repository at this point in the history
  • Loading branch information
tstollin committed Feb 5, 2025
1 parent bbad36d commit 109d206
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@ e.g: `gh webhook foward --repo=<YOUR_ORGANIZATION>/<YOUR_REPOSITORY> --url=http:

[ecs]: https://www.elastic.co/guide/en/ecs/current/index.html

[openid]: https://github.com/dexidp/dex
[openid]: https://github.com/dexidp/dex

0 comments on commit 109d206

Please sign in to comment.