Skip to content

Commit

Permalink
Push to fork with sibling base
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 29, 2023
1 parent 332e3e9 commit 283f60e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/testv5-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
token: ${{ secrets.TEST_CASE_PAT }}
repository: peter-evans/create-pull-request-tests-remote-private

- name: Close Pull Requests
uses: ./.github/close-pull-requests
with:
token: ${{ secrets.TEST_CASE_PAT_SIBLING }}
repository: create-pull-request/create-pull-request-tests

# Delete the test branches created in the fork
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -934,6 +940,30 @@ jobs:
push-to-fork: create-pull-request-machine-user/create-pull-request-tests


testPushBranchToForkWithSiblingBase:
needs: beforeTest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: create-pull-request/create-pull-request-tests
# Download the action artifact
- uses: actions/download-artifact@v3
with:
name: create-pull-request
path: create-pull-request-local
# Test
- name: Create report file
run: date +%s > report.txt
- name: Create Pull Request
uses: ./create-pull-request-local
with:
token: ${{ secrets.CPR_MACHINE_USER_TOKEN }}
title: testPushBranchToForkWithSiblingBase
branch: tests/push-branch-to-fork-with-sibling-base
push-to-fork: create-pull-request-machine-user/create-pull-request-tests


testCreateWithGpgSignedCommit:
needs: beforeTest
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1086,6 +1116,7 @@ jobs:
- testCreateInRemotePrivateRepo
- testCreateWithRelativePath
- testCreateBranchViaSSH
- testPushBranchToForkWithSiblingBase
- testCreateWithAppAuth
- testPushBranchToForkUpdate
- testPushBranchToForkViaSSH
Expand Down

0 comments on commit 283f60e

Please sign in to comment.