mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-07-01 06:13:43 +00:00
close-merge input
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/7
This commit is contained in:
parent
f8a65b3d9f
commit
5caaedbc52
7 changed files with 80 additions and 9 deletions
26
tests/originrepo-close-merge/.forgejo/workflows/test.yml
Normal file
26
tests/originrepo-close-merge/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
name: test
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- closed
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: SELF@vTest
|
||||
with:
|
||||
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
||||
origin-repo: user1/originrepo-close-merge
|
||||
origin-token: ${{ secrets.ORIGIN_TOKEN }}
|
||||
origin-pr: ${{ github.event.pull_request.number }}
|
||||
destination-url: ${{ env.GITHUB_SERVER_URL }}
|
||||
destination-repo: user2/destinationrepo
|
||||
destination-branch: main
|
||||
destination-token: ${{ secrets.DESTINATION_TOKEN }}
|
||||
update: ./upgraded
|
||||
close-merge: true
|
||||
debug: true
|
Loading…
Add table
Add a link
Reference in a new issue