Skip to content

Commit

Permalink
add actions workflow validation (#1902)
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>

Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango authored Dec 16, 2022
1 parent 0dbeb46 commit 7509990
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockers-agent-ngt-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-agent-sidecar-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-ci-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-dev-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-discoverer-k8s-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-gateway-filter-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-gateway-lb-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-helm-operator-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-loadtest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
strategy:
max-parallel: 4
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockers-manager-index-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
strategy:
max-parallel: 4
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request_head.repo.fork == false || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) }}
steps:
- uses: actions/checkout@v3
- name: set git config
Expand Down

0 comments on commit 7509990

Please sign in to comment.