Skip to content

cancel outdated job triggered by PR when PR is updated #1353

cancel outdated job triggered by PR when PR is updated

cancel outdated job triggered by PR when PR is updated #1353

name: Python 3.11, Keras 2.13
on:
workflow_dispatch: # Allow manual triggers
schedule:
- cron: 0 0 * * *
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
run-tests:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.11"
tf-version: "2.13.*"