# Copyright 2019-2023 Tauri Programme within The Commons Conservancy # SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: MIT name: Audit JavaScript on: workflow_dispatch: schedule: - cron: '0 0 * * *' push: branches: - v1 - v2 paths: - '.github/workflows/audit-javascript.yml' - '**/pnpm-lock.yaml' - '**/package.json' pull_request: branches: - v1 - v2 paths: - '.github/workflows/audit-javascript.yml' - '**/pnpm-lock.yaml' - '**/package.json' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read checks: write jobs: audit-js: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: ./.github/actions/setup-pnpm - name: audit run: pnpm audit