From 0265c6b37fc9a24cdfea43e8684b1acd1c5aa835 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Mon, 4 Nov 2024 14:00:49 -0800 Subject: [PATCH] Run Tests on Pull Requests Extending the moodle push workflow to also include PRs and removing the requirement to have a GH_PAT token setup as the submodules we need to checkout are now public. --- .github/workflows/push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 8472762d95563..7bb5e6370cf3c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,6 +13,7 @@ on: description: Additional options to apply to PHPUnit required: false default: '' + pull_request: env: php: 8.3 @@ -27,7 +28,6 @@ jobs: # Do not run Grunt on submodules for now, until we are ready to fix these submodules # with: # submodules: true -# token: ${{ secrets.GH_PAT }} - name: Configuring node & npm uses: actions/setup-node@v4 @@ -113,7 +113,6 @@ jobs: uses: actions/checkout@v4 with: submodules: true - token: ${{ secrets.GH_PAT }} - name: Setting up PHPUnit env: