Skip to content

Commit bc9bb8c

Browse files
committed
Add attestation build step
1 parent 4dff0dd commit bc9bb8c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/distribute.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
permissions:
14+
id-token: write
1415
contents: write
16+
attestations: write
1517

1618
strategy:
1719
fail-fast: true
@@ -41,8 +43,13 @@ jobs:
4143
- name: Check generated PHAR
4244
run: bin/git-user-bend.phar --version
4345

44-
- name: Create Release
46+
- name: Create release
4547
uses: softprops/action-gh-release@v2
4648
if: startsWith(github.ref, 'refs/tags/')
4749
with:
4850
files: bin/git-user-bend.phar
51+
52+
- name: Create attestation
53+
uses: actions/attest-build-provenance@v1
54+
with:
55+
subject-path: bin/git-user-bend.phar

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55

66
## [Unreleased]
77

8+
### Added
9+
10+
- Attested dist builds.
11+
812
## [v1.2.1] - 2023-11-28
913

1014
### Added

0 commit comments

Comments
 (0)