Skip to content

fix: allow overriding version/appversion on when oci registry is enabled #1

fix: allow overriding version/appversion on when oci registry is enabled

fix: allow overriding version/appversion on when oci registry is enabled #1

# Semantic pull request
# ==========================
# 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](https://www.conventionalcommits.org/en/v1.0.0/) specification.
# Mainly using [action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request#installation), with some opinionated defaults.
name: "Semantic Pull Request"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
workflow_call:
inputs:
runs-on:
description: "The type of machine to run on. Default: ubuntu-latest"
required: false
type: string
default: "ubuntu-latest"
secrets:
github-token:
description: "Token for the repository. Default: GITHUB_TOKEN"
required: false
permissions:
contents: write
pull-requests: write
jobs:
lint:
name: Validate PR title
runs-on: ${{ inputs.runs-on && fromJson(inputs.runs-on) || 'ubuntu-latest' }}
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.github-token || github.token }}