Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6dd698d

Browse files
authored
Merge pull request anchore#438 from anchore/enable-pull-request-events
Respond to pull_request events for internal PRs
2 parents 50928eb + 6e70d8a commit 6dd698d

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

.github/workflows/validations.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
1414
name: "Static analysis"
1515
runs-on: ubuntu-20.04
16-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
17-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
18-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
1916
steps:
2017
- uses: actions/setup-go@v2
2118
with:
@@ -53,9 +50,6 @@ jobs:
5350
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
5451
name: "Unit tests"
5552
runs-on: ubuntu-20.04
56-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
57-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
58-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
5953
steps:
6054
- uses: actions/setup-go@v2
6155
with:
@@ -108,9 +102,6 @@ jobs:
108102
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
109103
name: "Integration tests"
110104
runs-on: ubuntu-20.04
111-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
112-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
113-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
114105
steps:
115106
- uses: actions/setup-go@v2
116107
with:
@@ -234,9 +225,6 @@ jobs:
234225
Build-Snapshot-Artifacts:
235226
name: "Build snapshot artifacts"
236227
runs-on: ubuntu-20.04
237-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
238-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
239-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
240228
steps:
241229
- uses: actions/setup-go@v2
242230
with:
@@ -277,9 +265,6 @@ jobs:
277265
name: "Acceptance tests (Linux)"
278266
needs: [Build-Snapshot-Artifacts]
279267
runs-on: ubuntu-20.04
280-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
281-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
282-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
283268
steps:
284269
- uses: actions/checkout@v2
285270

@@ -296,9 +281,6 @@ jobs:
296281
name: "Acceptance tests (Mac)"
297282
needs: [Build-Snapshot-Artifacts]
298283
runs-on: macos-latest
299-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
300-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
301-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
302284
steps:
303285
- uses: actions/checkout@v2
304286

@@ -322,9 +304,6 @@ jobs:
322304
name: "CLI tests (Linux)"
323305
needs: [Build-Snapshot-Artifacts]
324306
runs-on: ubuntu-20.04
325-
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
326-
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
327-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
328307
steps:
329308
- uses: actions/checkout@v2
330309

0 commit comments

Comments
 (0)