Skip to content

Commit

Permalink
added outputs for verification
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveTvoHyland committed Jan 16, 2025
1 parent 08cd2b6 commit 412e172
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ jobs:
id: check
run: |
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }})
echo "Changed files: $changed_files"
if echo "$changed_files" | grep -qvE '^(e2e/resources/|docs/)'; then
echo "CodeQL will run"
echo "::set-output name=skip_codeql::true"
else
echo "CodeQL will be skipped"
echo "::set-output name=skip_codeql::false"
fi
Expand Down

0 comments on commit 412e172

Please sign in to comment.