Skip to content

Commit

Permalink
chore: remove release trigger modern update job
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Sep 24, 2024
1 parent 0407924 commit 77ca547
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,3 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
REPOSITORY: ${{ github.repository }}
REF: ${{ github.ref }}

- name: Trigger Modern Update Rsbuild
uses: actions/github-script@v7
if: ${{github.event.inputs.version == 'latest'}}
with:
github-token: ${{ secrets.REPO_SCOPED_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'modern.js',
workflow_id: 'update-rsbuild.yml',
ref: 'main'
})

0 comments on commit 77ca547

Please sign in to comment.