Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5363842
Update versions/next.json for v7.1.0-beta.1
github-actions[bot] Jul 6, 2023
4671718
Update versions/next.json for v7.1.0-beta.2
github-actions[bot] Jul 10, 2023
787d7f1
Update versions/next.json for v7.1.0-beta.3
storybook-bot Jul 10, 2023
c5ae4a8
Update versions/next.json for v7.1.0-rc.0
storybook-bot Jul 11, 2023
5a95a0d
Merge pull request #23358 from storybookjs/valentin/require-patch-no-…
valentinpalkovic Jul 11, 2023
2162c5b
Merge pull request #23406 from storybookjs/cherry-pick-new-patch-labels
JReinhold Jul 11, 2023
08e4f00
fix wrong 'patch' reference to 'patch:yes'
JReinhold Jul 11, 2023
1396344
Merge pull request #23407 from storybookjs/fix-new-patch-labels
JReinhold Jul 11, 2023
b12ce12
Update versions/next.json for v7.1.0-rc.1
storybook-bot Jul 11, 2023
5761641
Merge pull request #23393 from storybookjs/delay-version-bump
JReinhold Jul 12, 2023
b791562
Merge pull request #23421 from storybookjs/cherry-pick-deferred-versi…
JReinhold Jul 12, 2023
21ea382
Merge pull request #23310 from FelixRizzolli/patch-1
valentinpalkovic Jul 6, 2023
0070026
Merge pull request #23236 from dubbs/patch-1
jonniebigodes Jul 6, 2023
7c16f17
Merge pull request #23360 from storybookjs/chore_docs_addon_design_ch…
jonniebigodes Jul 7, 2023
bbda217
Merge pull request #23350 from ubugnu/patch-1
jonniebigodes Jul 7, 2023
017d466
Merge pull request #23297 from storybookjs/use-storybook-bot
JReinhold Jul 10, 2023
0def7ad
Merge pull request #23404 from storybookjs/valentin/use-angular-prod-…
valentinpalkovic Jul 11, 2023
5069978
Merge pull request #23405 from storybookjs/valentin/fix-esm-issue-in-…
valentinpalkovic Jul 11, 2023
3264dc1
Merge pull request #23393 from storybookjs/delay-version-bump
JReinhold Jul 12, 2023
11010ad
Merge pull request #23331 from storybookjs/valentin/add-angular-15-sa…
valentinpalkovic Jul 10, 2023
52e2d38
Merge pull request #23201 from storybookjs/fix/exit-on-init-unknown-p…
yannbf Jul 11, 2023
baa2505
Merge pull request #23210 from daves28/patch-1
valentinpalkovic Jul 8, 2023
55ef153
Write changelog for 7.0.27
storybook-bot Jul 12, 2023
022228a
Merge pull request #23111 from storybookjs/issue-workflow-actions
shilman Jul 4, 2023
b563dcd
Merge pull request #23336 from storybookjs/svelte-4-webpack
JReinhold Jul 10, 2023
c95868d
Merge pull request #23386 from storybookjs/valentin/enable-angular-sa…
valentinpalkovic Jul 11, 2023
747ea17
Merge pull request #23419 from storybookjs/norbert/fix-playwright-ver…
ndelangen Jul 11, 2023
07c158c
Update Changelog
valentinpalkovic Jul 12, 2023
de4ecb2
Fix parallelism in CircleCI
valentinpalkovic Jul 12, 2023
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
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ executors:
default: 'small'
working_directory: /tmp/storybook
docker:
- image: mcr.microsoft.com/playwright:v1.35.0-focal
- image: mcr.microsoft.com/playwright:v1.36.0-focal
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
Expand Down Expand Up @@ -658,27 +658,27 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 18
parallelism: 17
requires:
- build
- build-sandboxes:
parallelism: 18
parallelism: 17
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 18
parallelism: 17
requires:
- build-sandboxes
- e2e-production:
parallelism: 18
parallelism: 17
requires:
- build-sandboxes
- e2e-dev:
parallelism: 4
requires:
- create-sandboxes
- test-runner-production:
parallelism: 18
parallelism: 17
requires:
- build-sandboxes
# TODO: reenable once we find out the source of flakyness
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body:
attributes:
label: To Reproduce
description: >-
Please create a reproduction by running `npx sb@next sandbox` and
We prioritize bug reports that have a reproduction. You can create a reproduction using [storybook.new](https://storybook.new), or by running `npx sb@next sandbox` and
following the instructions. Read our
[documentation](https://storybook.js.org/docs/react/contribute/how-to-reproduce)
to learn more about creating reproductions.
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git config --global user.name 'storybook-bot'
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
yarn release:pick-patches

- name: Bump version
- name: Bump version deferred
id: bump-version
if: steps.unreleased-changes.outputs.has-changes-to-release == 'true'
run: |
yarn release:version --release-type patch --verbose
yarn release:version --deferred --release-type patch --verbose

# We need the current version to set the branch name, even when not bumping the version
- name: Get current version
Expand All @@ -117,11 +117,11 @@ jobs:
- name: 'Commit changes to branch: version-patch-from-${{ steps.versions.outputs.current }}'
working-directory: .
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git config --global user.name 'storybook-bot'
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
git checkout -b version-patch-from-${{ steps.versions.outputs.current }}
git add .
git commit -m "Bump version from ${{ steps.versions.outputs.current }} to ${{ steps.versions.outputs.next }}" || true
git commit -m "Write changelog for ${{ steps.versions.outputs.next }}" || true
git push --force origin version-patch-from-${{ steps.versions.outputs.current }}

- name: Generate PR description
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/prepare-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ jobs:
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}

- name: Bump version
- name: Bump version deferred
id: bump-version
run: |
yarn release:version --release-type ${{ inputs.release-type || 'prerelease' }} ${{ inputs.pre-id && format('{0} {1}', '--pre-id', inputs.pre-id) || '' }} --verbose
yarn release:version --deferred --release-type ${{ inputs.release-type || 'prerelease' }} ${{ inputs.pre-id && format('{0} {1}', '--pre-id', inputs.pre-id) || '' }} --verbose

- name: Write changelog
env:
Expand All @@ -121,11 +121,11 @@ jobs:
- name: 'Commit changes to branch: version-prerelease-from-${{ steps.bump-version.outputs.current-version }}'
working-directory: .
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git config --global user.name 'storybook-bot'
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
git checkout -b version-prerelease-from-${{ steps.bump-version.outputs.current-version }}
git add .
git commit -m "Bump version from ${{ steps.bump-version.outputs.current-version }} to ${{ steps.bump-version.outputs.next-version }}" || true
git commit -m "Write changelog for ${{ steps.bump-version.outputs.next-version }}" || true
git push --force origin version-prerelease-from-${{ steps.bump-version.outputs.current-version }}

- name: Generate PR description
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,27 @@ jobs:
run: |
yarn install

- name: Apply deferred version bump and commit
id: version-bump
working-directory: .
run: |
CURRENT_VERSION=$(cat ./code/package.json | jq '.version')
DEFERRED_NEXT_VERSION=$(cat ./code/package.json | jq '.deferredNextVersion')

if [[ "$DEFERRED_NEXT_VERSION" == "null" ]]; then
echo "No deferred version set, not bumping versions"
exit 0
fi
cd scripts
yarn release:version --apply --verbose
cd ..

git config --global user.name "storybook-bot"
git config --global user.email "32066757+storybook-bot@users.noreply.github.com"
git add .
git commit -m "Bump version from $CURRENT_VERSION to $DEFERRED_NEXT_VERSION" || true
git push origin ${{ github.ref_name }}

- name: Get current version
id: version
run: yarn release:get-current-version
Expand Down Expand Up @@ -112,8 +133,8 @@ jobs:

- name: Merge ${{ github.ref_name }} into ${{ steps.target.outputs.target }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "storybook-bot"
git config --global user.email "32066757+storybook-bot@users.noreply.github.com"
git fetch origin ${{ steps.target.outputs.target }}
git checkout ${{ steps.target.outputs.target }}
git merge ${{ github.ref_name }}
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Close stale issues that need reproduction or more info from OP'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "Hi there! Thank you for opening this issue, but it has been marked as `stale` because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!"
close-issue-message: "I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding."
any-of-labels: 'needs reproduction,needs more info'
exempt-issue-labels: 'needs triage'
labels-to-add-when-unstale: 'needs triage'
days-before-stale: 21
days-before-pr-stale: -1
Loading