Skip to content

Edit workflow pull_request triggers (#71) #99

Edit workflow pull_request triggers (#71)

Edit workflow pull_request triggers (#71) #99

name: "Continuous Integration"
on:
pull_request:
branches:
- main
types: [opened, ready_for_review, synchronize, reopened]
push:
branches:
- main
workflow_dispatch: # Allow manual triggering
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-poetry-lock:
name: Update Poetry Lock
if: >
github.actor == 'dependabot[bot]'
uses: ./.github/workflows/update-poetry-lock.yml
secrets: inherit
call-test-code:
name: Run Test, Lint & Coverage
needs: update-poetry-lock
if: always()
uses: ./.github/workflows/test-code.yml
secrets: inherit
call-dependabot-auto-merge:
name: Run Dependabot Auto-Merge
needs: call-test-code
if: >
github.actor == 'dependabot[bot]' &&
needs.call-test-code.result == 'success'
uses: ./.github/workflows/dependabot-auto-merge.yml
secrets: inherit