diff --git a/.github/workflows/combined_format_lint_test_mypy.yml b/.github/workflows/combined_format_lint_test_mypy.yml index 97696f8767..44755fc694 100644 --- a/.github/workflows/combined_format_lint_test_mypy.yml +++ b/.github/workflows/combined_format_lint_test_mypy.yml @@ -5,6 +5,7 @@ on: branches: [ dev ] pull_request: branches: [ dev ] + types: [opened, synchronize, reopened, ready_for_review, converted_to_draft] workflow_dispatch: env: @@ -12,6 +13,8 @@ env: jobs: format_code: + name: Format Code + if: ${{ github.event.action == 'workflow_dispatch' || github.event.pull_request.draft == false }} runs-on: ubuntu-latest outputs: changelog_updated: ${{ steps.record_if_changelog_updated.outputs.is_changelog_updated }} @@ -168,6 +171,7 @@ jobs: lint_test_type_check: name: Lint, Test, Coverage, and Type Checking + if: ${{ github.event.action == 'workflow_dispatch' || github.event.pull_request.draft == false }} needs: format_code runs-on: ubuntu-latest steps: diff --git a/changelog.md b/changelog.md index 82308c319b..ef534297d7 100644 --- a/changelog.md +++ b/changelog.md @@ -66,6 +66,8 @@ v1.0.0 - [2949](https://github.com/RuminantFarmSystems/RuFaS/pull/2949) - [minor change] [NoInputChange] [NoOutputChange] [Verbosity] Updates CLI verbosity arg to override verbosity of full run including task manager verbosity. - [2947](https://github.com/RuminantFarmSystems/RuFaS/pull/2947) - [minor change] [NoInputChange] [NoOutputChange] [Animal][Reproduction] Created weather data cross validation rules. - [2948](https://github.com/RuminantFarmSystems/RuFaS/pull/2948) - [minor change] [Feeds][NoInputChange] [NoOutputChange] Removes feed id maximums in metadata properties. +- [2940](https://github.com/RuminantFarmSystems/RuFaS/pull/2940) - [minor change] [NoInputChange] [NoOutputChange] update github actions to hold automated checks until the PR is no longer a draft. + ### v1.0.0