Skip to content
Merged
Changes from all commits
Commits
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
8 changes: 7 additions & 1 deletion .github/workflows/trigger-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@ jobs:
repository: hi-ogawa/vite-plugin-react
ref: chore-rsc-nightly
token: ${{ secrets.REACT_NIGHTLY_TRIGGER_TOKEN }}
- name: push commit
fetch-depth: 0
- name: git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

git remote add upstream https://github.com/vitejs/vite-plugin-react.git
git fetch upstream main
git merge upstream/main

NIGHTLY_VERSION=$(npm view react dist-tags.canary --json | jq -r 'split("-") | .[-2:] | join("-")')
git commit --allow-empty -m "chore: nightly ${NIGHTLY_VERSION}"
git push
Loading