Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .github/workflows/discoverability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Discoverability

on: pull_request

jobs:
discoverability-action:
name: Discoverability action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: yarn
run: yarn

- name: Add a comment with known areas to test
uses: shopify/discoverability-action@beta-1
with:
codebaseGlob: src/**/*.tsx
ignoreGlob: src/**/*.test.tsx
githubToken: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f
- Added `MediaQueryProvider` to ease the use of media queries and reduce duplication ([#2117](https://github.com/Shopify/polaris-react/pull/2117))

### Deprecations

### Development workflow

- Added a Github action, [discoverability-action](https://github.com/Shopify/discoverability-action), that runs `yarn splash` on PR diffs and leaves a comment with the output ([#2208](https://github.com/Shopify/polaris-react/pull/2208))