ci(pull-request): create sticky comment on pull request #6
Workflow file for this run
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: | ||
needs: bundle | ||
name: Link newly created snapshot build in pull request | ||
permissions: | ||
pull-requests: write | ||
uses: marocchino/sticky-pull-request-comment@v2 | ||
with: | ||
message: | | ||
Built bundle based on the current state of this Pull Request here: <${{ jobs.bundle.outputs.artifact-url }}> |