add policy links #4611
Workflow file for this run
This file contains 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: "CodeQL analysis" | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
schedule: | |
- cron: '0 21 * * *' | |
jobs: | |
analyze: | |
name: Analyze JS and Ruby | |
runs-on: ubuntu-latest | |
# Apply principle of least privilege to GITHUB_TOKEN | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: javascript, ruby | |
# Actually perform an analysis | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |