forked from pola-rs/polars
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 978 Bytes
/
release-drafter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update draft releases
on:
push:
branches:
- main
workflow_dispatch:
inputs:
# Latest commit to include with the release. If omitted, use the latest commit on the main branch.
sha:
description: Commit SHA
type: string
permissions:
contents: write
pull-requests: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Draft Rust release
uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-rust.yml
commitish: ${{ inputs.sha || github.sha }}
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Draft Python release
uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-python.yml
commitish: ${{ inputs.sha || github.sha }}
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}