WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit da81e88

Browse files
committed
Merge branch 'stable'
2 parents cae6bfa + d78e0a8 commit da81e88

File tree

2 files changed

+3
-26
lines changed

2 files changed

+3
-26
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 21 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,38 +16,22 @@ 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
4227
steps:
4328
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
4429
- name: create release
45-
run: >
46-
gh release create --draft --repo ${{ github.repository }}
47-
${{ github.ref_name }}
48-
*.intoto.jsonl/* artifact/*
30+
run: gh release create --draft --repo ${{ github.repository }} ${{ github.ref_name }} artifact/*
4931
env:
5032
GH_TOKEN: ${{ github.token }}
5133
publish-pypi:
52-
needs: [provenance]
34+
needs: [build]
5335
environment:
5436
name: publish
5537
url: https://pypi.org/project/Werkzeug/${{ github.ref_name }}

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ ignore = [
156156
force-single-line = true
157157
order-by-type = false
158158

159-
[tool.gha-update]
160-
tag-only = [
161-
"slsa-framework/slsa-github-generator",
162-
]
163-
164159
[tool.tox]
165160
env_list = [
166161
"py3.13", "py3.12", "py3.11", "py3.10", "py3.9",

0 commit comments

Comments
 (0)