2023-10-24 22:51:30 +02:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: test
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- closed
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- 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
|
2024-01-09 19:47:48 +01:00
|
|
|
close: true
|
2023-10-24 22:51:30 +02:00
|
|
|
debug: true
|