chore(deps): bump the github-actions-dependencies group across 4 directories with 12 updates #376
This file contains hidden or 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 CI | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| permissions: {} | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| ci: | ||
| name: CI Pipeline | ||
| uses: ./.github/workflows/shared-ci.yml | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| id-token: write | ||
| packages: read | ||
| pull-requests: write | ||
| statuses: write | ||
| security-events: write | ||
| comment-preview: | ||
| name: Comment PDF Preview | ||
| runs-on: ubuntu-latest | ||
| needs: ci | ||
| permissions: | ||
| pull-requests: write | ||
| steps: | ||
| - name: Comment on PR with preview link | ||
| id: comment-preview | ||
|
Check failure on line 35 in .github/workflows/pull-request-ci.yml
|
||
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | ||
| env: | ||
| GENERATED_PDFS: ${{ needs.ci.outputs.generated-pdfs }} | ||
| with: | ||
| result-encoding: string | ||
| script: | | ||
| const generatedPdfs = JSON.parse(process.env.GENERATED_PDFS); | ||
| const comment = `## 📄 Resume PDF Preview | ||
| PDFs have been generated for this pull request. You can download them from the workflow artifacts. | ||
| **Generated files:** | ||
| ${generatedPdfs.map(pdf => `- **${pdf.name}**: [\`${pdf["pdf-path"]}\`](${pdf["artifact-url"]})`).join('\n')} | ||
| `; | ||
| return comment; | ||
| - uses: hoverkraft-tech/ci-github.qkg1.topmon/actions/create-or-update-comment@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 | ||
| with: | ||
| title: "Resume PDF Preview" | ||
| body: ${{ steps.comment-preview.outputs.result }} | ||