Merge pull request #316 from mongodb/development

This commit is contained in:
Mick Grove 2026-04-02 08:11:54 -07:00 committed by GitHub
commit 7536a16677
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 2 deletions

View file

@ -145,3 +145,4 @@ jobs:
with:
packages-dir: dist-pypi
verbose: true
attestations: false

View file

@ -457,8 +457,28 @@ jobs:
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
with:
base64-subjects: "${{ needs.hash.outputs.hashes }}"
upload-assets: true
upload-tag-name: "${{ needs.release.outputs.tag }}"
upload-assets: false
upload-provenance:
name: Upload provenance to release
needs: [provenance, release]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download provenance artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: ${{ needs.provenance.outputs.provenance-name }}
- name: Upload to release
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ needs.release.outputs.tag }}
PROVENANCE_FILE: ${{ needs.provenance.outputs.provenance-name }}
run: |
gh release upload "${TAG}" "${PROVENANCE_FILE}" \
--repo "${{ github.repository }}" \
--clobber
# ──────────────── Publish Docker image ────────────────
publish-docker: