forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Run snapshot tests on the a11y tree (mui#20019)
- Loading branch information
1 parent
7a2a26c
commit ee127ad
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# workflow for communication with eps1lon/mui-scripts-incubator | ||
# These scripts are experimental. We have a very "dumb" workflow here that is only responsible for triggering | ||
# actions in eps1lon/mui-scripts-incubator. Since those actions are experimental they'll likely break | ||
# and we don't want to disrupt the normal repo workflow. | ||
name: experimental | ||
on: status | ||
jobs: | ||
build: | ||
if: github.event.state == 'success' && github.event.sender.login == 'netlify[bot]' && github.event.description == 'Deploy preview ready!' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Find PR associated with this push | ||
uses: jwalton/gh-find-current-pr@v1 | ||
id: findPr | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run mui-scripts a11y-snapshot | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.MUI_SCRIPTS_INCUBATOR }} | ||
repository: eps1lon/mui-scripts-incubator | ||
event-type: a11y-snapshot | ||
client-payload: '{ "pr_number": "${{ steps.findPr.outputs.pr }}"}' |