test(security): Pin that a remote clone's .git is always removed #3585
Workflow file for this run
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: autofix.ci | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["main"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| autofix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version-file: .tool-versions | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run biome with auto-fix | |
| run: node --run lint-biome | |
| continue-on-error: true | |
| - name: Run oxlint with auto-fix | |
| run: node --run lint-oxlint | |
| continue-on-error: true | |
| - name: Fix website client linting | |
| working-directory: website/client | |
| run: | | |
| npm ci | |
| node --run lint | |
| continue-on-error: true | |
| - name: Fix website server linting | |
| working-directory: website/server | |
| run: | | |
| npm ci | |
| node --run lint | |
| continue-on-error: true | |
| - name: Fix browser extension linting | |
| working-directory: browser | |
| run: | | |
| npm ci | |
| node --run lint | |
| continue-on-error: true | |
| - uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4 |