Skip to content

Commit 2d3e297

Browse files
committed
security: designate privileges for release workflow
1 parent 7c02f64 commit 2d3e297

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.changes/v0.2.1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## v0.2.1 - 2025-01-22
2+
3+
- _security_: Improve release workflow with designated permissions in the reusable template.

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
goreleaser:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 15
16+
permissions:
17+
contents: write
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1820

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
77
and is generated by [Changie](https://github.com/miniscruff/changie).
88

9+
## v0.2.1 - 2025-01-22
10+
11+
- _security_: Improve release workflow with designated permissions in the reusable template.
912
## v0.2.0 - 2024-10-07
1013

1114
- _new-product-feature_: Improve linting with additional job that validates changie entry exists when it should be included. Certain exclusions are added such as labels for `dependencies` by Renovate, and `no-changie-required` label for exceptions. This will use PR comment type so automatic changes required will show up.
@@ -68,3 +71,4 @@ This is done to help the development effort to bump a release based on dependenc
6871
- Add new template for annotations based on trunk result.
6972
This will eventually run seperately from trunk to allow forks to securely be annotated as well.
7073
At this time it's just a unused template.
74+

0 commit comments

Comments
 (0)