From e1a0a6b5a82817ab2fc4cdedd1520eb76d25a73b Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Tue, 13 Dec 2022 16:28:37 -0700 Subject: [PATCH 1/2] Fix testing.yml in main_v11.0-ref branch to ignore the docs directory. --- .github/workflows/testing.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 170e97d14c..d84bcd3966 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,27 +1,27 @@ name: Testing -# Compile MET and run unit tests -# for pull requests into develop branch +# Compile MET for feature branches +# Run unit tests for pull requests on: - pull_request: - types: [opened, reopened, synchronize] + push: branches: - develop - - 'main_v*' + - develop-ref + - 'feature_**' + - 'main_v**' + - 'bugfix_**' paths-ignore: - - 'met/docs/**' + - 'docs/**' - push: + pull_request: + types: [opened, reopened, synchronize] branches: - - 'feature_*' - - 'bugfix_*' - - 'develop' - - 'develop-ref' + - develop - 'main_v*' paths-ignore: - - 'met/docs/**' + - 'docs/**' workflow_dispatch: inputs: @@ -104,7 +104,7 @@ jobs: needs: [job_control] if: ${{ needs.job_control.outputs.run_unit_tests == 'true' }} steps: - - uses: dtcenter/metplus-action-data-update@v1 + - uses: dtcenter/metplus-action-data-update@v2 with: docker_name: ${{ secrets.DOCKER_USERNAME }} docker_pass: ${{ secrets.DOCKER_PASSWORD }} From caefb4137ac27282e02efea9d46affca2307dfe5 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Tue, 13 Dec 2022 16:30:46 -0700 Subject: [PATCH 2/2] Double stars --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d84bcd3966..d270ba6404 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -19,7 +19,7 @@ on: types: [opened, reopened, synchronize] branches: - develop - - 'main_v*' + - 'main_v**' paths-ignore: - 'docs/**'