Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 }}"}'