mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-06-30 13:53:43 +00:00
create the repositories, tokens and secrets
This commit is contained in:
parent
cdd3f46d7b
commit
2892041d6c
3 changed files with 40 additions and 4 deletions
18
tests/originrepo/.forgejo/workflows/test.yml
Normal file
18
tests/originrepo/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
name: test
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: SELF@vTest
|
||||
with:
|
||||
origin-url: ${{ env.$GITHUB_SERVER_URL }}
|
||||
origin-repo: user1/originrepo
|
||||
origin-token: ${{ secrets.ORIGIN_TOKEN }}
|
||||
destination-url: ${{ env.$GITHUB_SERVER_URL }}
|
||||
destination-repo: user2/destinationrepo
|
||||
destination-token: ${{ secrets.DESTINATION_TOKEN }}
|
||||
update: upgraded
|
||||
debug: true
|
Loading…
Add table
Add a link
Reference in a new issue