forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) 路 916 Bytes
/
Copy pathgenerate-repros-next.yml
File metadata and controls
28 lines (26 loc) 路 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate and push repros to the next branch
on:
schedule:
- cron: '2 2 */1 * *'
jobs:
generate:
runs-on: ubuntu-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- uses: actions/checkout@v2
- name: Setup git user
run: |
git config --global user.name "Storybook Bot"
git config --global user.email "bot@storybook.js.org"
- name: Install dependencies
run: node ./scripts/check-dependencies.js
- name: Bootstrap Storybook libraries
run: yarn bootstrap --prep
working-directory: ./code
- name: Generate repros
run: yarn next-repro
working-directory: ./code
- name: Publish repros to GitHub
run: yarn publish-repros --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/repro-templates-temp.git --push
working-directory: ./code