Skip to content

Commit 7b32039

Browse files
committed
Minor releaser workflow update
1 parent 9d36817 commit 7b32039

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
name: Check Release
22
on:
33
push:
4-
branches: ["main"]
4+
branches: ['main']
55
pull_request:
6-
branches: ["*"]
6+
7+
permissions:
8+
contents: read
79

810
concurrency:
9-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1012
cancel-in-progress: true
1113

1214
jobs:
1315
check_release:
1416
runs-on: ubuntu-latest
17+
timeout-minutes: 30
1518
steps:
1619
- name: Checkout
17-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
1821
- name: Base Setup
1922
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2023
- name: Check Release
2124
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
2225
with:
23-
2426
token: ${{ secrets.GITHUB_TOKEN }}
27+
version_spec: next
2528

2629
- name: Upload Distributions
2730
uses: actions/upload-artifact@v4
2831
with:
29-
name: jupyterlab_commands_toolkit-releaser-dist-${{ github.run_number }}
32+
name: jupyterlab-commands-toolkit-dist-${{ github.run_number }}
3033
path: .jupyter_releaser_checkout/dist

.github/workflows/prep-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212
post_version_spec:
1313
description: "Post Version Specifier"
1414
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+
silent:
16+
description: "Set a placeholder in the changelog and don't publish the release."
17+
required: false
18+
type: boolean
1919
since:
2020
description: "Use PRs with activity since this date or git reference"
2121
required: false
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
token: ${{ secrets.GITHUB_TOKEN }}
3939
version_spec: ${{ github.event.inputs.version_spec }}
40-
# silent: ${{ github.event.inputs.silent }}
40+
silent: ${{ github.event.inputs.silent }}
4141
post_version_spec: ${{ github.event.inputs.post_version_spec }}
4242
branch: ${{ github.event.inputs.branch }}
4343
since: ${{ github.event.inputs.since }}

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2323

24-
- uses: actions/create-github-app-token@v1
24+
- uses: actions/create-github-app-token@v2
2525
id: app-token
2626
with:
2727
app-id: ${{ vars.APP_ID }}

0 commit comments

Comments
 (0)