mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 08:40:57 -05:00
24 lines
781 B
YAML
24 lines
781 B
YAML
# 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 }}
|
|
origin-token: ${{ secrets.CASCADING_PR_ORIGIN }}
|
|
origin-pr: ${{ github.event.pull_request.number }}
|
|
destination-url: ${{ env.GITHUB_SERVER_URL }}
|
|
destination-repo: forgejo/end-to-end
|
|
destination-fork-repo: cascading-pr/end-to-end
|
|
destination-branch: main
|
|
destination-token: ${{ secrets.CASCADING_PR_DESTINATION }}
|
|
close-merge: true
|
|
update: .forgejo/cascading-pr-end-to-end
|