Ensure that semgrep always returns true so that we are not actually blocking the PRs. #38
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: 'Publish Preview of Docs Site' | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| permissions: | |
| contents: 'write' | |
| pull-requests: 'write' | |
| jobs: | |
| build: | |
| name: "Build PR Preview Docs" | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4 | |
| - name: 'Generate HTML from Markdown' | |
| uses: 'ldeluigi/markdown-docs@e51f9a21070db6a21dfbe27ac92f065823e006a1' # ratchet:ldeluigi/markdown-docs@latest | |
| with: | |
| src: 'docs' | |
| dst: 'generated-pages' | |
| - name: 'Deploy GitHub Pages Preview' | |
| uses: rossjrw/pr-preview-action@df22037db54ab6ee34d3c1e2b8810ac040a530c6 # ratchet:rossjrw/pr-preview-action@v1 | |
| with: | |
| source-dir: './generated-pages/' |