2023-10-11 22:32:24 +02:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: test
|
2023-10-13 19:10:50 +02:00
|
|
|
on:
|
2023-10-24 18:44:03 +02:00
|
|
|
pull_request_target:
|
2023-10-13 19:10:50 +02:00
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- closed
|
2023-10-11 22:32:24 +02:00
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- uses: SELF@vTest
|
|
|
|
with:
|
2023-10-12 15:12:52 +02:00
|
|
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
2023-10-11 22:32:24 +02:00
|
|
|
origin-repo: user1/originrepo
|
|
|
|
origin-token: ${{ secrets.ORIGIN_TOKEN }}
|
2023-10-12 19:13:07 +02:00
|
|
|
origin-pr: ${{ github.event.pull_request.number }}
|
2023-10-12 15:12:52 +02:00
|
|
|
destination-url: ${{ env.GITHUB_SERVER_URL }}
|
2023-10-11 22:32:24 +02:00
|
|
|
destination-repo: user2/destinationrepo
|
2023-10-12 15:12:52 +02:00
|
|
|
destination-branch: main
|
2023-10-13 14:24:19 +02:00
|
|
|
destination-token: ${{ secrets.DESTINATION_TOKEN }}
|
|
|
|
update: ./upgraded
|
2023-10-11 22:32:24 +02:00
|
|
|
debug: true
|