From 61c861a30989e2b6cd17dd6bfe73c56f5e9f428d Mon Sep 17 00:00:00 2001
From: Pierre Delpy
Date: Tue, 27 Aug 2024 13:48:04 +0200
Subject: [PATCH] test selfdesigned workflow take 4
---
.github/workflows/auto-pr.yml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml
index 90d995c..3386075 100644
--- a/.github/workflows/auto-pr.yml
+++ b/.github/workflows/auto-pr.yml
@@ -13,14 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- name: Create Pull Request to test/backport-pilots branch
- run: |
- git config --local user.name "github_workflow_verbis_auto-pr"
- git checkout -b test/backport-autopullrequest
- git push origin test/backport-pilots
- gh pr create --base main --head test/backport-pilots --title "Auto PR from main" --body "This PR was created automatically after merging into main."
+ run: gh pr create -B test/backport-pilots -H test/backport-main --title 'Merge test/backport-pilots into test/backport-main' --body 'Created by Github action'
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file