From 6083ad7dc0268e343ed0faf51e17fb95bb272cf2 Mon Sep 17 00:00:00 2001 From: qtrinh2 Date: Thu, 25 Jan 2024 08:39:51 -0500 Subject: [PATCH] Update pull-request.yml --- .github/workflows/pull-request.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }}