Skip to content

Latest commit

 

History

History
139 lines (92 loc) · 3.9 KB

File metadata and controls

139 lines (92 loc) · 3.9 KB

GitHub Reusable Workflow: Semantic Pull Request

Semantic Pull Request

Release License Stars PRs Welcome

Overview

Workflow to ensure Pull Request provides semantic versionning assets:

Permissions

  • contents: write
  • pull-requests: write

Usage

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"]'

Inputs

Workflow Call Inputs

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.

Secrets

Secret Description Required
github-token Token for the repository. false
Default: GITHUB_TOKEN.

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

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.