codeql-analysis.yml 582 B

1234567891011121314151617181920212223242526272829
  1. name: "CodeQL"
  2. on: [ push, pull_request, workflow_dispatch ]
  3. jobs:
  4. analyze:
  5. name: Analyze
  6. runs-on: ubuntu-latest
  7. permissions:
  8. actions: read
  9. contents: read
  10. security-events: write
  11. strategy:
  12. fail-fast: false
  13. matrix:
  14. language: [ 'javascript' ]
  15. steps:
  16. - name: Checkout repository
  17. uses: actions/checkout@v2
  18. - name: Initialize CodeQL
  19. uses: github/codeql-action/init@v1
  20. with:
  21. languages: ${{ matrix.language }}
  22. - name: Perform CodeQL Analysis
  23. uses: github/codeql-action/analyze@v1