setup-forgejo/.forgejo/workflows/cascade-end-to-end.yml
Earl Warren d7c9a16533
debug
2024-12-21 06:10:41 +01:00

26 lines
827 B
YAML

# SPDX-License-Identifier: MIT
on:
pull_request:
types:
- opened
- synchronize
- closed
jobs:
cascade:
runs-on: docker
if: vars.CASCADE != 'no'
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
verbose: true
update: .forgejo/cascading-pr-end-to-end