mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-04-23 17:20:49 +00:00
26 lines
740 B
YAML
26 lines
740 B
YAML
|
# 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/origin-fork-destination
|
||
|
origin-token: ${{ secrets.ORIGIN_TOKEN }}
|
||
|
origin-pr: ${{ github.event.pull_request.number }}
|
||
|
destination-url: ${{ env.GITHUB_SERVER_URL }}
|
||
|
destination-repo: user2/destinationrepo
|
||
|
destination-fork-repo: user3/destinationrepo
|
||
|
destination-branch: main
|
||
|
destination-token: ${{ secrets.DESTINATION_TOKEN }}
|
||
|
update: ./upgraded
|
||
|
debug: true
|