Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create codeql-analysis.yml' #239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PavinStrickland
Copy link
Owner

@PavinStrickland PavinStrickland commented Aug 14, 2024

 on:
   push:
     branches: [ main ]
   pull_request:
     # The branches below must be a subset of the branches above
     branches: [ main ]
   schedule:

cron: '0 0 * * 1' # Runs every Monday

 jobs:
   analyze:
     name: Analyze
     runs-on: ubuntu-latest

     steps:

name: Checkout repository
uses: actions/checkout@v2

name: Initialize the CodeQL tools
uses: github/codeql-action/init@v2
with:
languages: ['javascript', 'python'] # replace with the languages used in your repository

name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2```

Why:

Closes [issue link]

What's being changed:

Check off the following:

  • I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
  • For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

  • This pull request impacts the contribution experience
    • I have added the 'writer impact' label
    • I have added a description and/or a video demo of the changes below (eg. a "before and after video")

     on:
       push:
         branches: [ main ]
       pull_request:
         # The branches below must be a subset of the branches above
         branches: [ main ]
       schedule:
         
cron: '0 0 * * 1' # Runs every Monday

     jobs:
       analyze:
         name: Analyze
         runs-on: ubuntu-latest

         steps:
         
name: Checkout repository
         uses: actions/checkout@v2

         
name: Initialize the CodeQL tools
         uses: github/codeql-action/init@v2
         with:
           languages: ['javascript', 'python'] # replace with the languages used in your repository

         
name: Perform CodeQL Analysis
         uses: github/codeql-action/analyze@v2```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant