Skip to content

Commit a1398bf

Browse files
authored
Merge pull request #268 from celo-org/soloseng/update-changeset-lookup
Include changesets from celo-org bot
2 parents c522f45 + 3e9ffca commit a1398bf

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changeset/perfect-deers-shake.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/social-connect.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ jobs:
170170
- name: Find ChangeSet in PR
171171
uses: peter-evans/find-comment@v2
172172
id: fc
173-
# Skip if author is github-bot from celo-org or only md files changed
174-
if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' && steps.changes.outputs.others == 'true'
173+
# Skip if only md files changed
174+
if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true'
175175
with:
176176
issue-number: ${{ github.event.pull_request.number }}
177177
body-includes: Changeset detected
178178
comment-author: changeset-bot[bot]
179179
- name: Fail if Changeset commit not found
180-
# Skip if author is github-bot from celo-org or only md files changed
181-
if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' && steps.changes.outputs.others == 'true'
180+
# Skip if only md files changed
181+
if: github.event_name == 'pull_request' && steps.changes.outputs.others == 'true'
182182
run: |
183183
if ${{ steps.fc.outputs.comment-id == 0 }}; then
184184
echo "Error: No Changeset Found. You create an empty changeset with 'yarn cs add --empty'" && exit 1

0 commit comments

Comments
 (0)