Skip to content

Commit

Permalink
Add periodic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ErebusZ committed Aug 26, 2024
1 parent 83f5d3a commit ae7f26f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/periodic_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Periodic Scan
on:
schedule:
cron: * * * * *

jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.7.12"
channel: 'stable'

- name: Install dependencies
working-directory: ostorlab_insecure_flutter_app
run: flutter pub get

- name: Build IPA
working-directory: ostorlab_insecure_flutter_app
run: flutter build ipa --no-sound-null-safety --no-codesign


- name: Start Scan
uses: Ostorlab/[email protected]
with:
scan_profile: full_scan
asset_type: ios-ipa
scan_title: Periodic_Insecure_ipa
target: ios/build/IPA/*.ipa
ostorlab_api_key: ${{ secrets.ostorlab_api_key }}

0 comments on commit ae7f26f

Please sign in to comment.