Skip to content

Commit

Permalink
Allow PRs from forks to run tests (#1659)
Browse files Browse the repository at this point in the history
* Update black.yml

* Update flake8.yml

* Update pyroma.yml

* Update tests.yml

* Update update_remote_docs.yml

* Update zpretty.yml

* Update black.yml

* Update flake8.yml

* Update pyroma.yml

* Update tests.yml

* Update update_remote_docs.yml

* Update zpretty.yml

* Create 1659.internal

* Update black.yml

* Update update_remote_docs.yml

* Update and rename 1659.internal to 1656.internal

* Update tests.yml

* Update zpretty.yml

* Update flake8.yml

* Update black.yml

* Update flake8.yml

* Update pyroma.yml

* Update tests.yml

* Update zpretty.yml

* Update black.yml

* Update flake8.yml

* Update black.yml

* Update black.yml

* Update black.yml

* Update black.yml

* Update flake8.yml

* Update pyroma.yml

* Update tests.yml

* Update zpretty.yml

* Update update_remote_docs.yml
  • Loading branch information
Akshat2Jain committed Jun 16, 2023
1 parent 4a556e9 commit 9097cfc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Black
on: [push]
on: [push,pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Flake 8
on: [push]
on: [push,pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pyroma.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Pyroma
on: [push]
on: [push,pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Tests
on: [push]
on: [push,pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_remote_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
-H "Authorization: Bearer ${{secrets.DOCUMENTATION_BUILD_APPLICATION_KEY}}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/plone/documentation/actions/workflows/update_submodule.yml/dispatches \
-d '{"ref": "6-dev"}'
-d '{"ref": "6-dev"}'
3 changes: 2 additions & 1 deletion .github/workflows/zpretty.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: zpretty
on: [push]
on: [push,pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions news/1656.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow GHA tests to run on PRs from forks. @Akshat2Jain

0 comments on commit 9097cfc

Please sign in to comment.