This is an automated email from the ASF dual-hosted git repository. ocket8888 pushed a commit to branch 5.0.x in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit e423368c31697468f1533fafdc330cf79be6a83e Author: ocket8888 <[email protected]> AuthorDate: Wed Nov 4 15:50:30 2020 -0700 Fix GHA running when title changed (#5246) (cherry picked from commit 78492adfe39ebce613fb0acace3bbd29d3fed930) --- .github/workflows/ciab.yaml | 11 ++++++++++- .github/workflows/docs.yml | 3 ++- .github/workflows/go.fmt.yml | 3 ++- .github/workflows/go.unit.tests.yaml | 3 ++- .github/workflows/tr.unit.tests.yaml | 3 ++- .github/workflows/traffic ops.yml | 3 ++- .github/workflows/traffic.ops.database.yml | 5 +++-- .github/workflows/weasel.yml | 4 ++-- 8 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ciab.yaml b/.github/workflows/ciab.yaml index 20fbbbb..5703b8c 100644 --- a/.github/workflows/ciab.yaml +++ b/.github/workflows/ciab.yaml @@ -55,10 +55,11 @@ on: - 'misc/**' - 'NOTICE' - 'traffic_control/java' - types: [ opened, reopened, edited, synchronize ] + types: [ opened, reopened, ready_for_review, synchronize ] jobs: traffic_monitor: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -74,6 +75,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm traffic_ops: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -89,6 +91,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm traffic_ops_ort: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -104,6 +107,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm traffic_portal: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -119,6 +123,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm traffic_router: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -141,6 +146,7 @@ jobs: path: ${{ github.workspace }}/dist/*.rpm traffic_stats: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -156,6 +162,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm grove: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -171,6 +178,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm grovetccfg: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout @@ -186,6 +194,7 @@ jobs: path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm ciab-build: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest needs: - traffic_monitor diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4111587..7fe7556 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,13 +24,14 @@ on: - docs/source/** - traffic_control/clients/python/** pull_request: - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, read_for_review, synchronize] paths: - docs/source/** - traffic_control/clients/python/** jobs: documentation: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/go.fmt.yml b/.github/workflows/go.fmt.yml index b4a09df..ac91e4b 100644 --- a/.github/workflows/go.fmt.yml +++ b/.github/workflows/go.fmt.yml @@ -27,10 +27,11 @@ on: paths: - GO_VERSION - "**.go" - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, read_for_review, synchronize] jobs: format: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/go.unit.tests.yaml b/.github/workflows/go.unit.tests.yaml index 45dd623..d42cf92 100644 --- a/.github/workflows/go.unit.tests.yaml +++ b/.github/workflows/go.unit.tests.yaml @@ -37,10 +37,11 @@ on: - traffic_ops/traffic_ops_golang/**.go - traffic_ops_ort/atstccfg/**.go - traffic_stats/**.go - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, ready_for_review, synchronize] jobs: test: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/tr.unit.tests.yaml b/.github/workflows/tr.unit.tests.yaml index 7dc0872..58170af 100644 --- a/.github/workflows/tr.unit.tests.yaml +++ b/.github/workflows/tr.unit.tests.yaml @@ -25,10 +25,11 @@ on: pull_request: paths: - traffic_router/** - types: [ opened, reopened, edited, synchronize ] + types: [ opened, reopened, ready_for_review, synchronize ] jobs: tests: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/traffic ops.yml b/.github/workflows/traffic ops.yml index 5aa60bd..80d674e 100644 --- a/.github/workflows/traffic ops.yml +++ b/.github/workflows/traffic ops.yml @@ -31,11 +31,12 @@ on: - traffic_ops/traffic_ops_golang/**.go - traffic_ops/testing/api/**.go - traffic_ops/*client/**.go - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, ready_for_review, synchronize] jobs: API_tests: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest services: diff --git a/.github/workflows/traffic.ops.database.yml b/.github/workflows/traffic.ops.database.yml index 26987a3..7b1a85a 100644 --- a/.github/workflows/traffic.ops.database.yml +++ b/.github/workflows/traffic.ops.database.yml @@ -23,12 +23,13 @@ on: paths: - traffic_ops/app/db/** pull_request: - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, ready_for_review, synchronize] paths: - traffic_ops/app/db/** jobs: - documentation: + tests: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/weasel.yml b/.github/workflows/weasel.yml index 6322e0e..ecf8a89 100644 --- a/.github/workflows/weasel.yml +++ b/.github/workflows/weasel.yml @@ -21,11 +21,11 @@ on: push: create: pull_request: - types: [opened, reopened, edited, synchronize] + types: [opened, reopened, ready_for_review, synchronize] jobs: weasel: - + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps:
