From e0d33c12457fe7065d321d02668fc6095648d708 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 11:57:45 -0500 Subject: [PATCH 01/13] Update DrainPipe Dev workflow to support pushing any changes to the drainpipe-dev directory but also clean up branches when needed. --- .github/workflows/DrainpipeDev.yml | 37 ++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 63703d6ba..9c7357bc2 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -3,9 +3,10 @@ name: Push Drainpipe Dev Package on: push: branches: - - main + '**' tags: - 'v*' + delete: concurrency: group: drainpipe-dev @@ -17,11 +18,24 @@ permissions: jobs: Drainpipe-Dev: name: Push branch to drainpipe-dev + if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Get branch information + id: branch-names + uses: tj-actions/branch-names@v8 + + - name: For non-default branch and non-tags, check if drainpipe-dev was changed + if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} + id: drainpipe-dev-changed + uses: tj-actions/changed-files@v44 + with: + files: 'drainpipe-dev/**' + - name: Add drainpipe-dev deploy key in order to run git clone + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} @@ -30,6 +44,7 @@ jobs: # Commits made by the https://github.com/apps/lullabot-drainpipe application. # @see https://github.com/orgs/community/discussions/24664 - name: Create git checkout of drainpipe-dev + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git init @@ -41,6 +56,7 @@ jobs: git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" - name: Push branch to drainpipe-dev + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git add -A @@ -51,8 +67,25 @@ jobs: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} - name: Push tag to drainpipe-dev - if: ${{ startsWith(github.ref, 'refs/tags/') }} + if: ${{ steps.branch-names.outputs.is_tag == 'true' }} working-directory: drainpipe-dev run: | git tag ${{ github.ref_name }} git push origin ${{ github.ref_name }} + + Drainpipe-Dev-Delete: + name: Delete branch from to drainpipe-dev + if: ${{ github.event_name == 'delete' }} + runs-on: ubuntu-latest + steps: + - name: Add drainpipe-dev deploy key in order to run git clone + uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} + log-public-key: false + + # Todo could this check if the remote branch exists instead of just running this blindly? + - name: Delete branch from drainpipe-dev + run: | + git clone git@github.com:Lullabot/drainpipe-dev.git + git push --delete origin ${{ github.event.ref }} || true From 19b13bdcdca3f84d95daf81676f1159f31318d61 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 11:57:55 -0500 Subject: [PATCH 02/13] Updated step name. --- .github/workflows/DrainpipeDev.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 9c7357bc2..0d7322736 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -17,7 +17,7 @@ permissions: jobs: Drainpipe-Dev: - name: Push branch to drainpipe-dev + name: Push branch or tag to drainpipe-dev if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest steps: @@ -29,13 +29,13 @@ jobs: - name: For non-default branch and non-tags, check if drainpipe-dev was changed if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} - id: drainpipe-dev-changed + id: files-changed uses: tj-actions/changed-files@v44 with: files: 'drainpipe-dev/**' - name: Add drainpipe-dev deploy key in order to run git clone - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} @@ -44,7 +44,7 @@ jobs: # Commits made by the https://github.com/apps/lullabot-drainpipe application. # @see https://github.com/orgs/community/discussions/24664 - name: Create git checkout of drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git init @@ -56,7 +56,7 @@ jobs: git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" - name: Push branch to drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.drainpipe-dev-changed.outputs.any_changed == 'true' }} + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git add -A From d94d4df954b67f532e036da012070df62a427db5 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 11:59:08 -0500 Subject: [PATCH 03/13] Push a test change to drainpipe-dev. --- drainpipe-dev/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drainpipe-dev/README.md b/drainpipe-dev/README.md index 72d9d231e..b3ab4ce69 100644 --- a/drainpipe-dev/README.md +++ b/drainpipe-dev/README.md @@ -1,2 +1,4 @@ This package is automatically split from https://github.com/lullabot/drainpipe to hold dev dependencies in composer. + +Test change. From 13e23cefc3dead061f3ac049a739817cca2c190c Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:00:47 -0500 Subject: [PATCH 04/13] Do not hard-code default branch name in step. --- .github/workflows/DrainpipeDev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 0d7322736..b8fcc8eb3 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -51,7 +51,7 @@ jobs: git branch -m ${{ github.ref_name }} git remote add origin git@github.com:Lullabot/drainpipe-dev.git git fetch origin - git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/main + git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/${{ steps.branch-names.outputs.default_branch }} git config user.name "Lullabot-Drainpipe[bot]" git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" @@ -74,7 +74,7 @@ jobs: git push origin ${{ github.ref_name }} Drainpipe-Dev-Delete: - name: Delete branch from to drainpipe-dev + name: Delete branch from drainpipe-dev if: ${{ github.event_name == 'delete' }} runs-on: ubuntu-latest steps: From 36d579835b8c7b90b54579d04ec08941046fdff6 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:06:45 -0500 Subject: [PATCH 05/13] Use pull_requeset_target with paths to target branches with changes to drainpipe-dev. --- .github/workflows/DrainpipeDev.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index b8fcc8eb3..f07bbd720 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -1,9 +1,12 @@ name: Push Drainpipe Dev Package on: + pull_request_target: + paths: + - 'drainpipe-dev/**' push: branches: - '**' + - 'main' tags: - 'v*' delete: @@ -23,19 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Get branch information - id: branch-names - uses: tj-actions/branch-names@v8 - - - name: For non-default branch and non-tags, check if drainpipe-dev was changed - if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} - id: files-changed - uses: tj-actions/changed-files@v44 - with: - files: 'drainpipe-dev/**' - - name: Add drainpipe-dev deploy key in order to run git clone - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} @@ -44,19 +35,17 @@ jobs: # Commits made by the https://github.com/apps/lullabot-drainpipe application. # @see https://github.com/orgs/community/discussions/24664 - name: Create git checkout of drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git init git branch -m ${{ github.ref_name }} git remote add origin git@github.com:Lullabot/drainpipe-dev.git git fetch origin - git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/${{ steps.branch-names.outputs.default_branch }} + git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/main git config user.name "Lullabot-Drainpipe[bot]" git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" - name: Push branch to drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git add -A @@ -67,7 +56,7 @@ jobs: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} - name: Push tag to drainpipe-dev - if: ${{ steps.branch-names.outputs.is_tag == 'true' }} + if: ${{ startsWith(github.ref, 'refs/tags/') }} working-directory: drainpipe-dev run: | git tag ${{ github.ref_name }} From de6b785ee0562493f5cdad6e971246552f31a566 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:07:37 -0500 Subject: [PATCH 06/13] Fix job if logic. --- .github/workflows/DrainpipeDev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index f07bbd720..af18b9f50 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -20,8 +20,8 @@ permissions: jobs: Drainpipe-Dev: - name: Push branch or tag to drainpipe-dev - if: ${{ github.event_name == 'push' }} + name: Push to drainpipe-dev + if: ${{ github.event_name != 'delete' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 0b4c474c43679b0c0640d3c650b1c4b2f4eb7d78 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:09:02 -0500 Subject: [PATCH 07/13] Change to pull request event. --- .github/workflows/DrainpipeDev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index af18b9f50..d62130e5e 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -1,7 +1,7 @@ name: Push Drainpipe Dev Package on: - pull_request_target: + pull_request: paths: - 'drainpipe-dev/**' push: From 4ddc7d2cc198954f172e3712b9d2b54316e9b1cf Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:23:50 -0500 Subject: [PATCH 08/13] Go back to push event. --- .github/workflows/DrainpipeDev.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index d62130e5e..1155d50b8 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -1,18 +1,15 @@ name: Push Drainpipe Dev Package on: - pull_request: - paths: - - 'drainpipe-dev/**' push: branches: - - 'main' + - '**' tags: - 'v*' delete: concurrency: - group: drainpipe-dev + group: drainpipe-dev-${{ github.ref_name }} cancel-in-progress: false permissions: @@ -26,7 +23,19 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Get branch information + id: branch-names + uses: tj-actions/branch-names@v8 + + - name: For non-default branch and non-tags, check if drainpipe-dev was changed + if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} + id: files-changed + uses: tj-actions/changed-files@v44 + with: + files: 'drainpipe-dev/**' + - name: Add drainpipe-dev deploy key in order to run git clone + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} @@ -35,13 +44,14 @@ jobs: # Commits made by the https://github.com/apps/lullabot-drainpipe application. # @see https://github.com/orgs/community/discussions/24664 - name: Create git checkout of drainpipe-dev + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git init git branch -m ${{ github.ref_name }} git remote add origin git@github.com:Lullabot/drainpipe-dev.git git fetch origin - git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/main + git reset --mixed origin/${{ github.ref_name }} || git reset --mixed origin/${{ steps.branch-names.outputs.default_branch }} git config user.name "Lullabot-Drainpipe[bot]" git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" @@ -56,7 +66,7 @@ jobs: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} - name: Push tag to drainpipe-dev - if: ${{ startsWith(github.ref, 'refs/tags/') }} + if: ${{ steps.branch-names.outputs.is_tag == 'true' }} working-directory: drainpipe-dev run: | git tag ${{ github.ref_name }} From 62cb0d1c4cb318f74139e2f5a6f74cea9b3fcae3 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Fri, 26 Apr 2024 12:24:59 -0500 Subject: [PATCH 09/13] Use depth of zero. --- .github/workflows/DrainpipeDev.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 1155d50b8..837d3708c 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -22,6 +22,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + depth: 0 - name: Get branch information id: branch-names @@ -56,6 +58,7 @@ jobs: git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" - name: Push branch to drainpipe-dev + if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git add -A From 9774cfed3d72f8dfb3214062709df0ff67c5d11e Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Wed, 1 May 2024 13:30:44 -0500 Subject: [PATCH 10/13] Fix fetch depth. --- .github/workflows/DrainpipeDev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 837d3708c..0ef1686cd 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -18,18 +18,18 @@ permissions: jobs: Drainpipe-Dev: name: Push to drainpipe-dev - if: ${{ github.event_name != 'delete' }} + if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: - depth: 0 + fetch-depth: 0 - name: Get branch information id: branch-names uses: tj-actions/branch-names@v8 - - name: For non-default branch and non-tags, check if drainpipe-dev was changed + - name: For non-default branch pushes, check if drainpipe-dev was changed if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} id: files-changed uses: tj-actions/changed-files@v44 @@ -86,7 +86,7 @@ jobs: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} log-public-key: false - # Todo could this check if the remote branch exists instead of just running this blindly? + # @todo could this check if the remote branch exists instead of just running this blindly? - name: Delete branch from drainpipe-dev run: | git clone git@github.com:Lullabot/drainpipe-dev.git From c8015228d38848218c78a2638490c86e44722454 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Wed, 1 May 2024 13:53:17 -0500 Subject: [PATCH 11/13] Switch back to pull request event. --- .github/workflows/DrainpipeDev.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 0ef1686cd..508854abd 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -1,9 +1,12 @@ name: Push Drainpipe Dev Package on: + pull_request_target: + paths: + - 'drainpipe-dev/**' push: branches: - - '**' + - 'main' tags: - 'v*' delete: @@ -18,26 +21,24 @@ permissions: jobs: Drainpipe-Dev: name: Push to drainpipe-dev - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name != 'delete' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Get branch information id: branch-names uses: tj-actions/branch-names@v8 - name: For non-default branch pushes, check if drainpipe-dev was changed - if: ${{ steps.branch-names.outputs.is_default == 'false' || steps.branch-names.outputs.is_tag == 'false' }} + if: ${{ github.event_name == 'pull_request' }} id: files-changed uses: tj-actions/changed-files@v44 with: files: 'drainpipe-dev/**' - name: Add drainpipe-dev deploy key in order to run git clone - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} + if: ${{ github.event_name == 'push' || steps.files-changed.outputs.any_changed == 'true' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} @@ -46,7 +47,7 @@ jobs: # Commits made by the https://github.com/apps/lullabot-drainpipe application. # @see https://github.com/orgs/community/discussions/24664 - name: Create git checkout of drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} + if: ${{ github.event_name == 'push' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git init @@ -57,8 +58,13 @@ jobs: git config user.name "Lullabot-Drainpipe[bot]" git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" + - name: Fetch latest commit message for pull requests + if: ${{ github.event_name == 'pull_request' }} + id: pr-commit-message + run: echo "message=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT" + - name: Push branch to drainpipe-dev - if: ${{ steps.branch-names.outputs.is_default == 'true' || steps.branch-names.outputs.is_tag == 'true' || steps.files-changed.outputs.any_changed == 'true' }} + if: ${{ github.event_name == 'push' || steps.files-changed.outputs.any_changed == 'true' }} working-directory: drainpipe-dev run: | git add -A @@ -66,7 +72,7 @@ jobs: git push origin ${{ github.ref_name }} env: # Workaround if the commit message contains quotes. - COMMIT_MESSAGE: ${{ github.event.head_commit.message }} + COMMIT_MESSAGE: ${{ github.event.head_commit.message || steps.pr-commit-message.outputs.message }} - name: Push tag to drainpipe-dev if: ${{ steps.branch-names.outputs.is_tag == 'true' }} From 6e46a63856edaf5ba1b2db5574c074e9aa5d2b6a Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Wed, 1 May 2024 13:55:42 -0500 Subject: [PATCH 12/13] Remove paths filter. --- .github/workflows/DrainpipeDev.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index 508854abd..d9a5cc895 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -2,8 +2,6 @@ name: Push Drainpipe Dev Package on: pull_request_target: - paths: - - 'drainpipe-dev/**' push: branches: - 'main' From a870c48850d32ea4b4f355354a05981d975394ee Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Wed, 1 May 2024 13:57:59 -0500 Subject: [PATCH 13/13] Switch back to pull_request event. --- .github/workflows/DrainpipeDev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/DrainpipeDev.yml b/.github/workflows/DrainpipeDev.yml index d9a5cc895..5027b821c 100644 --- a/.github/workflows/DrainpipeDev.yml +++ b/.github/workflows/DrainpipeDev.yml @@ -1,7 +1,7 @@ name: Push Drainpipe Dev Package on: - pull_request_target: + pull_request: push: branches: - 'main'