Skip to content

Commit d1b43af

Browse files
committed
refactor: chromatic yml comment pr add (#172)
1 parent 5ae2401 commit d1b43af

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/chromatic.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@ jobs:
1717
id: chromatic
1818
uses: chromaui/action@v1
1919
with:
20+
exitZeroOnChanges: true
21+
autoAcceptChanges: true
2022
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
2123

24+
github-bot-storybook:
25+
runs-on: ubuntu-latest
26+
needs: [chromatic-deployment]
27+
steps:
2228
- name: Create comment PR
23-
uses: thollander/actions-comment-pull-request@v1
29+
uses: thollander/actions-comment-pull-request@v2
2430
with:
31+
comment_tag: ${{github.event.number}}-storybook
2532
message: "storybook: ${{steps.chromatic.outputs.storybookUrl }}"

0 commit comments

Comments
 (0)