Skip to content

Commit

Permalink
Merge pull request #125 from cisagov/improvement/add-diagnostics-job-…
Browse files Browse the repository at this point in the history
…for-codeql-workflow

Add a diagnostics job to the CodeQL workflow
  • Loading branch information
mcdonnnj committed Dec 19, 2023
2 parents a671a9f + 0541200 commit af9dc98
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,27 @@ on:
- cron: '0 14 * * 6'

jobs:
diagnostics:
name: Run diagnostics
runs-on: ubuntu-latest
steps:
# Note that a duplicate of this step must be added at the top of
# each job.
- id: harden-runner
name: Harden the runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- id: github-status
name: Check GitHub status
uses: crazy-max/ghaction-github-status@v3
- id: dump-context
name: Dump context
uses: crazy-max/ghaction-dump-context@v2
analyze:
name: Analyze
needs:
- diagnostics
runs-on: ubuntu-latest
permissions:
# required for all workflows
Expand Down

0 comments on commit af9dc98

Please sign in to comment.