Skip to content

Commit 4e9ee0e

Browse files
authored
Merge pull request #26 from pallets-eco/remove-slsa
remove slsa provenance
2 parents e73a7c6 + 0694059 commit 4e9ee0e

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
outputs:
9-
hash: ${{ steps.hash.outputs.hash }}
108
steps:
119
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1210
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0
@@ -18,24 +16,11 @@ jobs:
1816
python-version-file: pyproject.toml
1917
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
2018
- run: uv build
21-
- name: generate hash
22-
id: hash
23-
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
2419
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2520
with:
2621
path: ./dist
27-
provenance:
28-
needs: [build]
29-
permissions:
30-
actions: read
31-
id-token: write
32-
contents: write
33-
# Can't pin with hash due to how this workflow works.
34-
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
35-
with:
36-
base64-subjects: ${{ needs.build.outputs.hash }}
3722
create-release:
38-
needs: [provenance]
23+
needs: [build]
3924
runs-on: ubuntu-latest
4025
permissions:
4126
contents: write
@@ -44,12 +29,11 @@ jobs:
4429
- name: create release
4530
run: >
4631
gh release create --draft --repo ${{ github.repository }}
47-
${{ github.ref_name }}
48-
*.intoto.jsonl/* artifact/*
32+
${{ github.ref_name }} artifact/*
4933
env:
5034
GH_TOKEN: ${{ github.token }}
5135
publish-pypi:
52-
needs: [provenance]
36+
needs: [build]
5337
environment:
5438
name: publish
5539
url: https://pypi.org/project/flask-orjson/${{ github.ref_name }}

0 commit comments

Comments
 (0)