fix(social): harden Mastodon status publishing (#65) #8
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
| # CodeQL is FREE on public repos. On private repos the SARIF upload step | |
| # requires GitHub Advanced Security. This job auto-skips when the repo is | |
| # private so the workflow doesn't fail loudly — flip the repo public and it | |
| # runs automatically. | |
| name: codeql | |
| on: | |
| pull_request: | |
| branches: [master, main] | |
| push: | |
| branches: [master, main] | |
| schedule: | |
| - cron: "21 4 * * 1" | |
| jobs: | |
| analyze: | |
| name: analyze (${{ matrix.language }}) | |
| if: ${{ github.event.repository.visibility == 'public' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [javascript-typescript] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: github/codeql-action/init@v3 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-and-quality | |
| - uses: github/codeql-action/autobuild@v3 | |
| - uses: github/codeql-action/analyze@v3 | |
| with: | |
| category: "/language:${{ matrix.language }}" |