chore(deps): bump super-linter/super-linter from slim-v8.0.0 to slim-v8.7.0 in the docker-dependencies group across 1 directory #375
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 | |
| 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@66578f5b9aec4ac5558b5dad750c4c74dfcb65c5 # 0.35.5 | |
| with: | |
| title: "Resume PDF Preview" | |
| body: ${{ steps.comment-preview.outputs.result }} |