Skip to content

⬆️upgrade(ci): Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 in /.github/workflows #336

⬆️upgrade(ci): Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 in /.github/workflows

⬆️upgrade(ci): Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 in /.github/workflows #336

# SPDX-FileCopyrightText: 2022 WebReady Projects <https://github.com/wr-projects/>
#
# SPDX-License-Identifier: MIT
name: Pipeline - Lint Pull Request
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
contents: read
pull-requests: read
jobs:
lint_pr:
name: Validate Pull Request title
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6
with:
egress-policy: audit
# More info: https://github.com/peter-murray/workflow-application-token-action.
- name: Get token
id: get_token
uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3
with:
application_id: ${{ secrets.ID_PRLINTERBOT }}
application_private_key: ${{ secrets.PEM_PRLINTERBOT }}
# More info: https://github.com/actions/checkout.
- name: Checkout & Authentication
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
token: ${{ steps.get_token.outputs.token }}
persist-credentials: false
fetch-depth: 0
- name: Validate Pull Request title
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
with:
types: |
init
tag
feat
bug
breaking
critical
fix
wip
comment
permissions
roles
security
secrets
design
animations
transitions
improve
perf
refactor
accessability
desktop
mobile
responsive
windows
macOS
linux
test
adding-test
build
deploy
ci
update-ci
dev-scripts
docs
documentation
internationalize
i18n
localisation
metadata
lint
healtcheck
business
architectural
developer
general-update
upgrade
downgrade
add
remove
move
rename
add-dep
remove-dep
pin-dep
contributor
docker
config-file
pkg-file
analytics
api
licence
assets
gitfile
snapshots
experiments
seo
database
update-logs
remove-logs
merge-branch
dead-code
bad-code
revert
ok-code
scopes: |
# A REFLECHIR COMMENT DEFINIR LE CONTENU DE SCOPES ?
requireScope: true
disallowScopes: |
release
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject
ignoreLabels: |
source: 🤖 bot
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$'
headerPatternCorrespondence: subject
wip: true
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true
env:
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}