Skip to content

Commit

Permalink
chore: ensure provenance is staged in git
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Jun 17, 2024
1 parent 54cb811 commit 55afddb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ on:
default: false
type: boolean
required: false

schedule:
# Note: run daily at 8am UTC time
- cron: "0 8 * * *"

permissions:
contents: read
Expand All @@ -45,6 +47,9 @@ jobs:
# uploads the artifact with the integrity hash as the key name
# so subsequent jobs can restore from a trusted point in time to prevent tampering
seal:
# ignore forks
if: github.repository == 'aws-powertools/powertools-lambda-python'

runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -267,7 +272,7 @@ jobs:
id: create-pr
uses: ./.github/actions/create-pr
with:
files: "pyproject.toml aws_lambda_powertools/"
files: "pyproject.toml aws_lambda_powertools/shared/version.py provenance/"
temp_branch_prefix: "ci-bump"
pull_request_title: "chore(ci): new pre-release ${{ needs.seal.outputs.RELEASE_VERSION }}"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 55afddb

Please sign in to comment.