Skip to content

chore(deps): update github actions #152

chore(deps): update github actions

chore(deps): update github actions #152

---
# Conventional PR Title Workflow
#
# Why this exists:
# We use conventional commit format (feat:, fix:, chore:, etc.) for our PR titles.
# This keeps our git history clean and helps generate changelogs automatically.
#
# What it does:
# - Checks that your PR title follows conventional commit format
# - Examples: "feat: add user auth", "fix: resolve memory leak", "chore: update deps"
# - Runs on every PR to master
#
# If it fails:
# Just edit your PR title to match the format. The check will re-run automatically.
#
# DO NOT EDIT: Managed by Terraform at https://github.com/usetero/infrastructure
name: Conventional PR title
"on":
pull_request:
branches:
- master
types:
- opened
- edited
- synchronize
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
- uses: CondeNast/conventional-pull-request-action@3ce30fdb4d2beef8b941f23a1114dd8188eba082 # v0.2.0
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
with:
# to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting!
# commitlintRulesPath: './commitlint.rules.js' # default: undefined
# if the PR contains a single commit, fail if the commit message and the PR title do not match
commitTitleMatch: "true" # default: 'true'
# if you squash merge PRs and enabled "Default to PR title for squash merge commits", you can disable all linting of commits
ignoreCommits: "true" # default: 'false'