From 5ae20c349a3b5a4c8ef5c4a51407a6c60d9f57cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Wed, 5 Feb 2025 16:06:17 +0000 Subject: [PATCH] feat --- .github/workflows/pullrequest-close.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pullrequest-close.yml b/.github/workflows/pullrequest-close.yml index 282962f9c366..898c5fba458e 100644 --- a/.github/workflows/pullrequest-close.yml +++ b/.github/workflows/pullrequest-close.yml @@ -35,18 +35,18 @@ jobs: git config --global user.email "${{ github.actor }}@users.noreply.github.com" git config --global user.name "${{ github.actor }} (automated)" git fetch --all - git checkout main - echo $(date) > test.txt - git add test.txt + git checkout -b ci/test_pr + echo "# $(date)" >> .github/workflows/pullrequest-close.yml + git add .github/workflows/pullrequest-close.yml git commit -m "Adding stuff" git push - # git status - # git push --set-upstream origin ci/test_pr + git status + git push --set-upstream origin ci/test_pr - # PR=$(gh pr create -B ci/cherry-pick-unicorn -H ci/test_pr --title "Automated cherry-pick of test" --body "Automated cherry-pick test") - # echo "$PR created" + PR=$(gh pr create -B ci/cherry-pick-unicorn -H ci/test_pr --title "Automated cherry-pick of test" --body "Automated cherry-pick test") + echo "$PR created" - # gh pr merge -s $PR + gh pr merge -s $PR # - uses: actions/setup-node@v4 # with: @@ -141,3 +141,4 @@ jobs: # } # } # BODY +