chore(deps): update dependency pnpm to v11.17.0 #451
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| security: | |
| name: Security Checks | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup aqua | |
| uses: aquaproj/aqua-installer@96a9bc20066c5bf5e275b41019cfc165b25f4e2e # v4.0.5 | |
| with: | |
| aqua_version: v2.62.2 # Renovate: depName=aquaproj/aqua | |
| - name: Install security tools | |
| run: aqua i -l gitleaks zizmor | |
| - name: Run Gitleaks | |
| run: gitleaks detect --source . --verbose | |
| - name: Run Zizmor | |
| run: zizmor .github/workflows/ | |
| actions-quality: | |
| name: Actions Quality Checks | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup aqua | |
| uses: aquaproj/aqua-installer@96a9bc20066c5bf5e275b41019cfc165b25f4e2e # v4.0.5 | |
| with: | |
| aqua_version: v2.62.2 # Renovate: depName=aquaproj/aqua | |
| - name: Install actions tools | |
| run: aqua i -l actionlint pinact | |
| - name: Run actionlint | |
| run: actionlint | |
| - name: Setup Git Bot | |
| id: bot | |
| uses: ./.github/actions/setup-git-bot | |
| with: | |
| app-id: ${{ secrets.BOT_APP_ID }} | |
| private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
| - name: Run pinact and auto-fix | |
| env: | |
| GH_TOKEN: ${{ steps.bot.outputs.token }} | |
| BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
| REPOSITORY: ${{ github.repository }} | |
| run: | | |
| pinact run | |
| if git diff --quiet; then | |
| echo "No changes needed" | |
| exit 0 | |
| fi | |
| git add .github/workflows/ | |
| git commit -m "chore(ci): pin GitHub Actions to commit SHA" | |
| git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${REPOSITORY}" | |
| git push origin "HEAD:${BRANCH_NAME}" |