From 645a1f701500e8ef45d64d4a8339e6743c6eb754 Mon Sep 17 00:00:00 2001 From: soloseng <102702451+soloseng@users.noreply.github.com> Date: Fri, 1 Mar 2024 11:48:54 -0500 Subject: [PATCH] No longer ignores changesets from celo-org bot --- .github/workflows/social-connect.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/social-connect.yml b/.github/workflows/social-connect.yml index 0c677c40d..5c0d489dc 100644 --- a/.github/workflows/social-connect.yml +++ b/.github/workflows/social-connect.yml @@ -170,15 +170,15 @@ jobs: - name: Find ChangeSet in PR uses: peter-evans/find-comment@v2 id: fc - # Skip if author is github-bot from celo-org or only md files changed - if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' && steps.changes.outputs.others == 'true' + # Skip if only md files changed + if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true' with: issue-number: ${{ github.event.pull_request.number }} body-includes: Changeset detected comment-author: changeset-bot[bot] - name: Fail if Changeset commit not found - # Skip if author is github-bot from celo-org or only md files changed - if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' && steps.changes.outputs.others == 'true' + # Skip if only md files changed + if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true' run: | if ${{ steps.fc.outputs.comment-id == 0 }}; then echo "Error: No Changeset Found. You create an empty changeset with 'yarn cs add --empty'" && exit 1