mirror of
https://github.com/samply/bridgehead.git
synced 2025-12-15 03:47:31 +01:00
Merge pull request #215 from samply/test/backport-pullrequest
test selfdesigned workflow take 4
This commit is contained in:
11
.github/workflows/auto-pr.yml
vendored
11
.github/workflows/auto-pr.yml
vendored
@@ -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 }}
|
||||
Reference in New Issue
Block a user