Skip to content

Commit c38b964

Browse files
authored
Merge pull request #40 from gortavoher/main
ci(CI): Disable Release Please; add Release Drafter
2 parents 3ad1f25 + f884c55 commit c38b964

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.github/release-drafter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
template: |
2+
## What’s Changed
3+
4+
$CHANGES
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- main
8+
# pull_request event is required only for autolabeler
9+
pull_request:
10+
# Only following types are handled by the action, but one can default to all as well
11+
types: [opened, reopened, synchronize]
12+
# pull_request_target event is required for autolabeler to support PRs from forks
13+
# pull_request_target:
14+
# types: [opened, reopened, synchronize]
15+
16+
jobs:
17+
update_release_draft:
18+
runs-on: ubuntu-latest
19+
steps:
20+
# Drafts your next Release notes as Pull Requests are merged into "master"
21+
- uses: release-drafter/release-drafter@v5
22+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
23+
# with:
24+
# config-name: my-config.yml
25+
# disable-autolabeler: true
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-please.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- main
4+
- never
55

66
permissions:
77
contents: write
@@ -14,5 +14,4 @@ jobs:
1414
steps:
1515
- uses: GoogleCloudPlatform/[email protected]
1616
with:
17-
token: ${{ secrets.GITHUB_TOKEN }}
1817
release-type: rust

0 commit comments

Comments
 (0)