File tree Expand file tree Collapse file tree 3 files changed +36
-7
lines changed Expand file tree Collapse file tree 3 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 12
12
post_version_spec :
13
13
description : " Post Version Specifier"
14
14
required : false
15
+ # silent:
16
+ # description: "Set a placeholder in the changelog and don't publish the release."
17
+ # required: false
18
+ # type: boolean
15
19
since :
16
20
description : " Use PRs with activity since this date or git reference"
17
21
required : false
32
36
token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
33
37
version_spec : ${{ github.event.inputs.version_spec }}
34
38
post_version_spec : ${{ github.event.inputs.post_version_spec }}
35
- target : ${{ github.event.inputs.target }}
36
39
branch : ${{ github.event.inputs.branch }}
40
+ # silent: ${{ github.event.inputs.silent }}
37
41
since : ${{ github.event.inputs.since }}
38
42
since_last_stable : ${{ github.event.inputs.since_last_stable }}
39
43
Original file line number Diff line number Diff line change
1
+ name : " Publish Changelog"
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ workflow_dispatch :
7
+ inputs :
8
+ branch :
9
+ description : " The branch to target"
10
+ required : false
11
+
12
+ jobs :
13
+ publish_changelog :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
17
+ - name : Publish changelog
18
+ id : publish-changelog
19
+ uses : jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
20
+ with :
21
+ token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
22
+ branch : ${{ github.event.inputs.branch }}
23
+
24
+ - name : " ** Next Step **"
25
+ run : |
26
+ echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}"
Original file line number Diff line number Diff line change 15
15
jobs :
16
16
publish_release :
17
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ # This is useful if you want to use PyPI trusted publisher
20
+ # and NPM provenance
21
+ id-token : write
18
22
steps :
19
23
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
20
24
@@ -23,22 +27,17 @@ jobs:
23
27
uses : jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
24
28
with :
25
29
token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
26
- target : ${{ github.event.inputs.target }}
27
30
branch : ${{ github.event.inputs.branch }}
28
31
release_url : ${{ github.event.inputs.release_url }}
29
32
steps_to_skip : ${{ github.event.inputs.steps_to_skip }}
30
33
31
34
- name : Finalize Release
32
35
id : finalize-release
33
36
env :
34
- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
35
- PYPI_TOKEN_MAP : ${{ secrets.PYPI_TOKEN_MAP }}
36
- TWINE_USERNAME : __token__
37
37
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
38
- uses : jupyter-server/jupyter-releaser /.github/actions/finalize-release@v2
38
+ uses : jupyter-server/jupyter_releaser /.github/actions/finalize-release@v2
39
39
with :
40
40
token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
41
- target : ${{ github.event.inputs.target }}
42
41
release_url : ${{ steps.populate-release.outputs.release_url }}
43
42
44
43
- name : " ** Next Step **"
You can’t perform that action at this time.
0 commit comments