Skip to content

Commit

Permalink
Merge branch 'main' into try/13424-split-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Aug 30, 2023
2 parents 54fa112 + 4bcc797 commit 470c7d3
Show file tree
Hide file tree
Showing 99 changed files with 887 additions and 574 deletions.
13 changes: 1 addition & 12 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
## Context

<!-- What do we want to achieve with this PR? Why did we write this code? -->

## Summary

<!-- A brief description of what this PR does. -->

## Relevant Technical Choices

<!-- Please describe your changes. -->

## To-do

<!-- A list of things that need to be addressed in this PR or follow-up changes. -->

## User-facing changes

Expand Down Expand Up @@ -56,7 +45,7 @@ This PR can be tested by following these steps:

<!-- Check these after PR creation -->

- [ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
- [ ] This PR addresses an existing issue and I have linked this PR to it
- [ ] I have tested this code to the best of my abilities
- [ ] I have verified accessibility to the best of my abilities ([docs](https://github.com/googleforcreators/web-stories-wp/blob/main/docs/accessibility-testing.md))
- [ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
Expand Down
106 changes: 0 additions & 106 deletions .github/workflows/add-milestone.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ jobs:
security-events: write
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
uploads.github.com:443
objects.githubusercontent.com:443
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9

Expand Down
39 changes: 7 additions & 32 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
build-storybook:
name: Build storybook
runs-on: ubuntu-latest
permissions:
contents: write # for Git to git push
timeout-minutes: 10
steps:
- name: Checkout
Expand All @@ -47,45 +49,17 @@ jobs:
- name: Build storyook
run: npm run storybook:build

- name: Upload storybook
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: storybook-files
path: build/storybook

deploy-gh-pages:
name: Deploy storybook
runs-on: ubuntu-latest
permissions:
contents: write # for Git to git push
timeout-minutes: 10
needs: [build-storybook]
steps:
- name: Harden Runner
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
- name: Checkout
- name: Checkout gh-pages
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
ref: gh-pages
token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }}

- name: Download storybook files
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: storybook-files
path: storybook-files
path: gh-pages

- name: Move storybook assets
run: |
mkdir -p storybook
rm -rf storybook/*
mv storybook-files/* storybook/
rm -rf gh-pages/storybook/*
mv build/storybook/* gh-pages/storybook/
- name: Commit updates
run: |
Expand All @@ -100,3 +74,4 @@ jobs:
GIT_AUTHOR_NAME: googleforcreators-bot
GIT_COMMITTER_EMAIL: [email protected]
GIT_COMMITTER_NAME: googleforcreators-bot
working-directory: ./gh-pages
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"sniccowp/php-scoper-wordpress-excludes": "^6.0",
"swissspidy/phpstan-no-private": "^v0.2.0",
"szepeviktor/phpstan-wordpress": "^v1.1.3",
"wp-coding-standards/wpcs": "^2.3",
"wp-coding-standards/wpcs": "^3.0.0",
"yoast/wp-test-utils": "^1.0.0"
},
"suggest": {
Expand Down
Loading

0 comments on commit 470c7d3

Please sign in to comment.