Skip to content

Commit

Permalink
ci: set a path filter for codeql-analyze (#2947)
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight authored Apr 27, 2023
1 parent 7a7de19 commit c021422
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [main]
pull_request:
branches:
- main
schedule:
- cron: '40 4 * * 6'

Expand Down Expand Up @@ -32,7 +34,7 @@ jobs:
-workspace Sentry.xcworkspace
-scheme Sentry
-configuration Release
-destination platform="iOS Simulator,OS=latest,name=iPhone 11 Pro"
-destination platform="iOS Simulator,OS=latest,name=iPhone 11 Pro" | xcpretty && exit ${PIPESTATUS[0]}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 # pin@v2

0 comments on commit c021422

Please sign in to comment.