Skip to content

Commit 55afddb

Browse files
committed
chore: ensure provenance is staged in git
1 parent 54cb811 commit 55afddb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pre-release.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ on:
3333
default: false
3434
type: boolean
3535
required: false
36-
36+
schedule:
37+
# Note: run daily at 8am UTC time
38+
- cron: "0 8 * * *"
3739

3840
permissions:
3941
contents: read
@@ -45,6 +47,9 @@ jobs:
4547
# uploads the artifact with the integrity hash as the key name
4648
# so subsequent jobs can restore from a trusted point in time to prevent tampering
4749
seal:
50+
# ignore forks
51+
if: github.repository == 'aws-powertools/powertools-lambda-python'
52+
4853
runs-on: ubuntu-latest
4954
permissions:
5055
contents: read
@@ -267,7 +272,7 @@ jobs:
267272
id: create-pr
268273
uses: ./.github/actions/create-pr
269274
with:
270-
files: "pyproject.toml aws_lambda_powertools/"
275+
files: "pyproject.toml aws_lambda_powertools/shared/version.py provenance/"
271276
temp_branch_prefix: "ci-bump"
272277
pull_request_title: "chore(ci): new pre-release ${{ needs.seal.outputs.RELEASE_VERSION }}"
273278
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)