Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 2.23 KB

File metadata and controls

77 lines (55 loc) · 2.23 KB

GitHub Reusable Workflow: Semantic pull request

Workflow to ensure Pull Request provides semantic versionning assets:

Usage

name: "Pull Request - Semantic Lint"

on:
  pull_request_target:
    types:
      - opened
      - edited
      - synchronize

permissions:
  contents: write
  pull-requests: write

jobs:
  main:
    uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@0.25.0
    secrets:
      # Token for the repository.
      # Default GITHUB_TOKEN
      github-token: ""

Secrets

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

Inputs

Input Description Default Type Required
runs-on JSON array of runner(s) to use. See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job. ["ubuntu-latest"] string false