-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
660a02b
commit cc6ff1d
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,21 @@ name: Prepare Release | |
description: Prepares a release by running towncrier and creating a PR with the changes. | ||
inputs: | ||
version: | ||
description: Release version. | ||
description: The version to release. | ||
required: true | ||
branch: | ||
description: Target branch for the release. Unless specified, uses the default branch. | ||
changelog_author: | ||
description: Git-format author/committer to use for pull request commits | ||
description: The target branch to use for the release. | ||
changelog-author: | ||
description: Git-format author to use for the changelog commits. | ||
default: Conda Bot <[email protected]> | ||
fork-token: | ||
description: 'GitHub token to fork repository (`???: write`).' | ||
description: 'GitHub token to create and push to the fork. Fine-grained PAT: `administration: write`' | ||
default: ${{ github.token }} | ||
branch-token: | ||
description: 'GitHub token to checkout and create the release branch (`contents: write`).' | ||
description: 'GitHub token to create and push to the branch. Fine-grained PAT: `contents: write`' | ||
default: ${{ github.token }} | ||
pr-token: | ||
description: 'GitHub token to create the changelog PR (`pull-request: write`).' | ||
description: 'GitHub token to create the pull request. Fine-grained PAT: `pull-request: write`' | ||
default: ${{ github.token }} | ||
runs: | ||
using: composite | ||
|
@@ -80,8 +80,8 @@ runs: | |
base: ${{ inputs.branch }} | ||
delete-branch: true | ||
commit-message: Changelog ${{ inputs.version }} | ||
author: ${{ inputs.changelog_author }} | ||
committer: ${{ inputs.changelog_author }} | ||
author: ${{ inputs.changelog-author }} | ||
committer: ${{ inputs.changelog-author }} | ||
title: Changelog ${{ inputs.version }} | ||
body: | | ||
[release.yml]: ${{ github.server_url }}/${{ github.repository }}/blob/main/.github/workflows/release.yml | ||
|