cascading-pr/tests/originrepo/.forgejo/workflows/test.yml

25 lines
672 B
YAML
Raw Permalink Normal View History

# SPDX-License-Identifier: MIT
name: test
on:
pull_request_target:
types:
- opened
- synchronize
- closed
jobs:
test:
runs-on: docker
steps:
- uses: SELF@vTest
with:
2023-10-12 15:12:52 +02:00
origin-url: ${{ env.GITHUB_SERVER_URL }}
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 }}
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
debug: true