Skip to content

chore(repo): Dials scheduled GH Actions to 1x/day #605

chore(repo): Dials scheduled GH Actions to 1x/day

chore(repo): Dials scheduled GH Actions to 1x/day #605

# Generated with aft. To update, run: `aft generate workflows`
name: amplify_native_legacy_wrapper
on:
push:
branches:
- main
- stable
paths:
- '.github/workflows/amplify_native_legacy_wrapper.yaml'
- '.github/workflows/flutter_vm.yaml'
- 'packages/amplify_lints/lib/**/*.yaml'
- 'packages/amplify_lints/pubspec.yaml'
- 'packages/amplify_native_legacy_wrapper/**/*.dart'
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
- 'packages/amplify_native_legacy_wrapper/lib/**/*'
- 'packages/amplify_native_legacy_wrapper/test/**/*'
pull_request:
paths:
- '.github/workflows/amplify_native_legacy_wrapper.yaml'
- '.github/workflows/flutter_vm.yaml'
- 'packages/amplify_lints/lib/**/*.yaml'
- 'packages/amplify_lints/pubspec.yaml'
- 'packages/amplify_native_legacy_wrapper/**/*.dart'
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
- 'packages/amplify_native_legacy_wrapper/lib/**/*'
- 'packages/amplify_native_legacy_wrapper/test/**/*'
schedule:
- cron: "0 6 * * *" # Every day at 06:00
defaults:
run:
shell: bash
permissions: read-all
# Cancels in-progress job when there is another push to same ref.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/flutter_vm.yaml
with:
package-name: amplify_native_legacy_wrapper
working-directory: packages/amplify_native_legacy_wrapper
has-goldens: false