Skip to content

Commit

Permalink
ci(pr): ajout d'une action GitHub de validation du titre de la PR
Browse files Browse the repository at this point in the history
On utilise action-semantic-pull-request.
  • Loading branch information
ggounot committed Dec 30, 2024
1 parent 305b20a commit 9782040
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint-pr.yml
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 }}

0 comments on commit 9782040

Please sign in to comment.