Skip to content

Commit b83a9b3

Browse files
authored
Merge branch 'release/6.x' into backport-6-pre-vote
2 parents f6757e5 + 850fc83 commit b83a9b3

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/release-attestation.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
attest-release-assets:
1515
runs-on: ubuntu-latest
1616
permissions:
17-
contents: read
17+
# Necessary to push the attestation to the release
18+
contents: write
19+
# Necessary to persist attestations
1820
attestations: write
1921
id-token: write
2022
steps:
@@ -34,6 +36,16 @@ jobs:
3436
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3537

3638
- name: Attest release assets
37-
uses: actions/attest-build-provenance@v2
39+
id: attest
40+
uses: actions/attest-build-provenance@v3
3841
with:
3942
subject-path: "release-assets/*"
43+
44+
- run: |
45+
set -ex
46+
# Rename to match https://github.com/ossf/scorecard/blob/main/docs/checks.md#signed-releases
47+
cp ${{ steps.attest.outputs.bundle-path }} release-assets/attestation.sigstore.json
48+
gh release upload --repo microsoft/ccf ${{ steps.download.outputs.release_tag }} release-assets/attestation.sigstore.json --clobber
49+
shell: bash
50+
env:
51+
GH_TOKEN: ${{ github.token }}

.ruff.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
extend-exclude = ["*_pb2*.py"]
2-
line-length = 2000
1+
line-length = 320

0 commit comments

Comments
 (0)