Skip to content

fix: update github/codeql-action action to v3.28.0 #2316

fix: update github/codeql-action action to v3.28.0

fix: update github/codeql-action action to v3.28.0 #2316

Workflow file for this run

---
name: Pull Request Linter
on:
pull_request_target:
types:
- opened
- edited
- synchronize
branches:
- main
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
lint:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
if: github.actor != 'renovate[bot]'
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
- name: Lint Pull Request
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
with:
validateSingleCommit: true
wip: true
types: |
fix
feat
requireScope: false
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.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}