diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index df23c18..8f82495 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,7 +11,8 @@ jobs: pull-request: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: create pull request - run: gh pr create -B main -H ${{ github.ref }} --title 'Merge ${{ github.ref }} into main' --body 'Created by Github action' + run: gh pr create -B main -H ${{ github.ref_name }} --title 'Merge ${{ github.ref_name }} into main' --body 'Created by Github action' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}