diff --git a/.changeset/young-houses-explode.md b/.changeset/young-houses-explode.md new file mode 100644 index 000000000..a845151cc --- /dev/null +++ b/.changeset/young-houses-explode.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83554511a..196398369 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,6 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 - if: false env: GITHUB_TOKEN: ${{ env.PAT }} NPM_TOKEN: ${{ env.NPM_TOKEN }} diff --git a/.github/workflows/social-connect.yml b/.github/workflows/social-connect.yml index 5c0d489dc..ef73c3488 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 only md files changed - if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true' + # 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' 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 only md files changed - if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true' + # 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' 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