Skip to content

chore: (go.mod): bump the gomod group across 1 directory with 8 updates #265

chore: (go.mod): bump the gomod group across 1 directory with 8 updates

chore: (go.mod): bump the gomod group across 1 directory with 8 updates #265

Workflow file for this run

# Copyright (C) 2023 TomTom NV. All rights reserved.
---
name: Quality Checks
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
issues: write
pull-requests: write
jobs:
conventional-commit:
name: Conventional Commit Check
runs-on: ubuntu-latest
steps:
- uses: tomtom-international/commisery-action@v3
with:
token: ${{ github.token }}
config: .commisery.yml
check-pr-title:
runs-on: ubuntu-latest
steps:
- name: Check PR Title
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const title = context.payload.pull_request.title;
const validPrefixes = /^(ci:|feat:|fix:|chore:)/;
if (!validPrefixes.test(title)) {
core.setFailed('PR title must start with "ci:", "feat:", "fix:", or "chore:".');
return;
}
# Require status checks to pass before merging
validate:
needs:
- conventional-commit
runs-on: ubuntu-latest
steps:
- run: echo "Passed all Quality checks"