-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the releaser workflows to the latest version (#426)
* Update the releaser workflows to the latest version * Remove token from workflow dispatch
- Loading branch information
1 parent
bdf9c27
commit 17892e4
Showing
3 changed files
with
36 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Publish Changelog" | ||
on: | ||
release: | ||
types: [published] | ||
|
||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: "The branch to target" | ||
required: false | ||
|
||
jobs: | ||
publish_changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | ||
- name: Publish changelog | ||
id: publish-changelog | ||
uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2 | ||
with: | ||
token: ${{ secrets.ADMIN_GITHUB_TOKEN }} | ||
branch: ${{ github.event.inputs.branch }} | ||
|
||
- name: "** Next Step **" | ||
run: | | ||
echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}" |
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