diff --git a/.github/workflows/merge-stackblitz-to-main.yml b/.github/workflows/merge-stackblitz-to-main.yml index 5b4b35c..a44464e 100644 --- a/.github/workflows/merge-stackblitz-to-main.yml +++ b/.github/workflows/merge-stackblitz-to-main.yml @@ -50,10 +50,10 @@ jobs: - name: Create pull request uses: actions/github-script@v7 with: - github-token: ${{ secrets.REPOSITORY_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | github.rest.pulls.create({ - owner: 'github-actions', + owner: context.repo.owner, repo: context.repo.repo, title: 'Merge stackblitz branch to main', head: 'stackblitz-pr',