mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-05 02:27:48 +02:00
Any advanced configuration should be done via a release-please-config.json. Fixes #859 Fixes #858 Fixes #857 Fixes #852 feat!: remove most configuration options in favor of manifest configuration to configure the release-please-action refactor!: rewrite in typescript feat!: remove command option in favor of setting `release-type` and `skip-github-release`/`skip-github-pull-request` feat!: run on node20 deps!: upgrade release-please to v16
60 lines
2.1 KiB
YAML
60 lines
2.1 KiB
YAML
name: 'release-please-action'
|
|
description: 'automated releases based on conventional commits'
|
|
author: Google LLC
|
|
inputs:
|
|
token:
|
|
description: 'GitHub token for creating and grooming release PRs, defaults to using secrets.GITHUB_TOKEN'
|
|
required: false
|
|
default: ${{ github.token }}
|
|
release-type:
|
|
description: 'what type of release is this, one of (ruby, python, node, terraform-module)'
|
|
required: false
|
|
default: ''
|
|
path:
|
|
description: "create a release from a path other than the repository's root"
|
|
required: false
|
|
default: ''
|
|
target-branch:
|
|
description: branch to open pull release PR against (detected by default)
|
|
required: false
|
|
default: ''
|
|
config-file:
|
|
description: 'where can the config file be found in the project?'
|
|
required: false
|
|
default: ''
|
|
manifest-file:
|
|
description: 'where can the manifest file be found in the project?'
|
|
required: false
|
|
default: ''
|
|
repo-url:
|
|
description: 'configure github repository URL. Default `process.env.GITHUB_REPOSITORY`'
|
|
required: false
|
|
default: ${{ github.repository }}
|
|
github-api-url:
|
|
description: 'configure github API URL. Default `https://api.github.com`'
|
|
required: false
|
|
default: ${{ github.api_url }}
|
|
github-graphql-url:
|
|
description: 'configure github GraphQL URL. Default `https://api.github.com`'
|
|
required: false
|
|
default: ${{ github.graphql_url }}
|
|
fork:
|
|
description: 'If true, send the PR from a fork. This requires the token to be a user that can create forks (e.g. not the default GITHUB_TOKEN)'
|
|
required: false
|
|
default: false
|
|
proxy-server:
|
|
description: 'set proxy sever when you run this action behind a proxy. format is host:port e.g. proxy-host.com:8080'
|
|
required: false
|
|
default: ''
|
|
skip-github-release:
|
|
description: 'if set to true, then do not try to tag releases'
|
|
required: false
|
|
default: false
|
|
skip-github-pull-request:
|
|
description: 'if set to true, then do not try to open pull requests'
|
|
required: false
|
|
default: false
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|