Skip to content

Commit 9d2368e

Browse files
authored
ci: update release and changelog-preview workflows (#1177)
1 parent c551ab5 commit 9d2368e

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

.craft.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
minVersion: 0.35.0
2-
changelogPolicy: simple
1+
minVersion: 2.14.0
2+
changelog:
3+
policy: auto
4+
versioning:
5+
policy: auto
36
artifactProvider:
47
name: none
58
targets:

.github/pull_request_template.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
11
### Description
22
<!-- What changed and why? -->
33

4-
#### Issues
4+
### Issues
55
<!--
66
* resolves: #1234
77
* resolves: LIN-1234
88
-->
99

10-
#### Reminders
10+
<!-- Uncomment below to override auto-generated changelog (PR title is used by default)
11+
### Changelog Entry
12+
- Your changelog entry here
13+
-->
14+
15+
<details>
16+
<summary>Changelog Entry Instructions</summary>
17+
18+
To add a custom changelog entry, uncomment the section above. Supports:
19+
- Single entry: just write text
20+
- Multiple entries: use bullet points
21+
- Nested bullets: indent 4+ spaces
22+
23+
For more details: [custom changelog entries](https://getsentry.github.io/craft/configuration/#custom-changelog-entries-from-pr-descriptions)
24+
</details>
25+
26+
<details>
27+
<summary>Reminders</summary>
28+
1129
- Add GH Issue ID _&_ Linear ID
1230
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
1331
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-go/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
32+
</details>

.github/workflows/changelog-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Changelog Preview
22
on:
3-
pull_request:
3+
pull_request_target:
44
types:
55
- opened
66
- synchronize
@@ -9,7 +9,7 @@ on:
99
- labeled
1010
- unlabeled
1111
permissions:
12-
contents: write
12+
contents: read
1313
pull-requests: write
1414

1515
jobs:

0 commit comments

Comments
 (0)