Skip to content

Commit

Permalink
Merge pull request #64 from dadoagency/chore/add-label-check-for-semver
Browse files Browse the repository at this point in the history
chore: added check that labels are present
  • Loading branch information
martink-rsa committed Jan 7, 2021
2 parents 2f4b33a + faa421d commit 19fa15c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: yarn

- run: npm rebuild node-sass

- run: yarn test
#- run: yarn build-storybook
- uses: chromaui/action@v1
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pull Request Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v1
with:
mode: exactly
count: 1
labels: "patch, minor, major"
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 12.x
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x

- name: Cache node modules
uses: actions/cache@v1
Expand Down

0 comments on commit 19fa15c

Please sign in to comment.