chore(deps): update christian-draeger/increment-semantic-version action to v1.2.0 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request bundle | |
on: pull_request | |
jobs: | |
bundle: | |
# Triggers the workflow on events of pull requests with the default branch as the target | |
if: github.base_ref == github.event.repository.default_branch | |
name: Bundle version snapshot-pr-#${{ github.event.pull_request.number }} | |
uses: ./.github/workflows/bundle.yml | |
with: | |
version: snapshot-pr-#${{ github.event.pull_request.number }} | |
retention-days: 8 | |
link-snapshot-build-in-pull-request: | |
runs-on: ubuntu-24.04 | |
needs: bundle | |
name: Link newly created snapshot build in pull request | |
permissions: | |
pull-requests: write | |
steps: | |
- name: "Create sticky comment at pull request with link to artifact: ${{ needs.bundle.outputs.artifact-url }}" | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
message: | | |
A bundle was built by a build job based on the current state of this Pull Request. | |
Build Job: <${{ needs.bundle.outputs.job-url }}> | |
Direct download: <${{ needs.bundle.outputs.artifact-url }}> |