From a051228a1159dac3e41e0170cb657ba23c928e2b Mon Sep 17 00:00:00 2001 From: Pete Inge Date: Thu, 31 Oct 2024 00:10:48 -0400 Subject: [PATCH] more debugging --- .github/workflows/auto-pr.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index f69a7fdc..2e0697b7 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -26,9 +26,12 @@ jobs: - name: Create branch and PR run: | + git remote show origin + git remote update + git fetch git checkout -b ${{ env.BRANCH }} git push origin ${{ env.BRANCH }} - gh pr create --repo bluecadet/panth-github-actions -B master -H ${{ env.BRANCH }} --title 'Daily merge to TEST' --body "Daily merge $(date +'%Y-%m-%d %H:%M:%S')" --assignee pingevt --reviewer pingevt + gh pr create --repo ${{ env.GITHUB_REF_NAME }} -B master -H ${{ env.BRANCH }} --title 'Daily merge to TEST' --body "Daily merge $(date +'%Y-%m-%d %H:%M:%S')" --assignee pingevt --reviewer pingevt env: - BRANCH: daily/$(date +'%Y-%m-%d)-${{ github.run_id }}-${{ github.run_attempt }} + BRANCH: daily/$(date +'%Y-%m-%d')-${{ github.run_id }}-${{ github.run_attempt }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}