2023-10-28 19:15:26 -04:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- closed
|
|
|
|
jobs:
|
|
|
|
cascade:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- uses: actions/cascading-pr@v1
|
|
|
|
with:
|
|
|
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
|
|
|
origin-repo: ${{ github.repository }}
|
2023-11-07 11:35:16 -05:00
|
|
|
origin-token: ${{ secrets.CASCADING_PR_ORIGIN }}
|
2023-10-28 19:15:26 -04:00
|
|
|
origin-pr: ${{ github.event.pull_request.number }}
|
|
|
|
destination-url: ${{ env.GITHUB_SERVER_URL }}
|
2023-10-29 12:06:52 -04:00
|
|
|
destination-repo: forgejo/end-to-end
|
2023-11-07 11:35:16 -05:00
|
|
|
destination-fork-repo: cascading-pr/end-to-end
|
2023-10-28 19:15:26 -04:00
|
|
|
destination-branch: main
|
2023-11-07 11:35:16 -05:00
|
|
|
destination-token: ${{ secrets.CASCADING_PR_DESTINATION }}
|
2023-10-28 19:15:26 -04:00
|
|
|
close-merge: true
|
|
|
|
update: .forgejo/cascading-pr-end-to-end
|