Skip to content

Commit

Permalink
[test] Run snapshot tests on the a11y tree (#20019)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Mar 7, 2020
1 parent 440a68f commit 230aff6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/scripts.yml
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 }}"}'

0 comments on commit 230aff6

Please sign in to comment.