From 30c92caf5a4d058d0d978f822f99b1a908baded5 Mon Sep 17 00:00:00 2001 From: JJ Fullmer Date: Mon, 5 Aug 2024 10:58:17 -0600 Subject: [PATCH] Use checkout instead of hardcoding a pull Use the latest actions/checkout to get the latest pull --- .github/workflows/stable-releases.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stable-releases.yml b/.github/workflows/stable-releases.yml index 3033935451..09ad2f19b0 100644 --- a/.github/workflows/stable-releases.yml +++ b/.github/workflows/stable-releases.yml @@ -6,12 +6,9 @@ jobs: create-release-pull-request: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: create pull request - run: | - gh repo clone FOGProject/fogproject - cd fogproject - git fetch --all - gh pr create -B stable -H dev-branch --title 'Monthly Release PR' --body 'Created by Github action' + run: gh pr create -B stable -H dev-branch --title 'Monthly Release PR' --body 'Created by Github action' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # release-stable: