chore(deps): update dependency sinon to v17.0.2 #227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release (Bookmarklet) | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: "${{ !contains(github.event.head_commit.message, '[skip ci]') }}" | |
steps: | |
- name: Checkout source repo | |
uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.SSH-KEY }} | |
- name: Checkout target repo | |
uses: actions/checkout@v4 | |
with: | |
repository: adobe/helix-website | |
ref: main | |
path: _target | |
- name: Copy files from source to target repo | |
run: | | |
cp src/bookmarklet/app.js _target/tools/sidekick/ | |
cp src/extension/module.js _target/tools/sidekick/ | |
cp src/extension/rum.js _target/tools/sidekick/ | |
cp src/extension/app.css _target/tools/sidekick/ | |
cp -r src/extension/_locales _target/tools/sidekick/ | |
cp -r src/extension/view _target/tools/sidekick/ | |
cp docs/config.schema.json _target/tools/sidekick/ | |
mkdir -p _target/tools/sidekick/lib | |
- name: Create branch commit and pull request in target repo | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "chore(sidekick): new release candidate [skip ci]" | |
token: ${{ secrets.PAT }} | |
path: _target | |
base: main | |
branch: sidekick-rc | |
branch-suffix: short-commit-hash | |
delete-branch: true | |
title: Sidekick Bookmarklet RC | |
body: This PR has been auto-generated from https://github.com/adobe/helix-sidekick-extension/. |