Workflow to ensure Pull Request provides semantic versionning assets:
- "Squash and merge" Pull Request strategy provides a valid commit message. Check that the title follows the Conventional Commits specification. Mainly using action-semantic-pull-request, with some opinionated defaults.
contents:writepull-requests:write
name: Semantic Pull Request
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions: {}
jobs:
semantic-pull-request:
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@4bfbc05c189f1177cf7d47d3060cd1cbddf04ce2 # 0.32.0
permissions: {}
secrets:
# Token for the repository.
# Default: GITHUB_TOKEN.
github-token: ""
with:
# JSON array of runner(s) to use.
# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job.
#
# Default: `["ubuntu-latest"]`
runs-on: '["ubuntu-latest"]'| Input | Description | Required | Type | Default |
|---|---|---|---|---|
runs-on |
JSON array of runner(s) to use. | false | string | ["ubuntu-latest"] |
| See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job. |
| Secret | Description | Required |
|---|---|---|
github-token |
Token for the repository. | false |
| Default: GITHUB_TOKEN. |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft-tech
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.