forgejo-curl/.forgejo/workflows/cascade-setup-forgejo.yml
Earl Warren 976b816b3b
All checks were successful
/ test (map[image:codeberg.org/forgejo-experimental/forgejo version:1.21.0-6-rc2]) (push) Successful in 58s
/ test (map[image:codeberg.org/forgejo/forgejo version:1.19]) (push) Successful in 1m3s
/ test (map[image:codeberg.org/forgejo/forgejo version:1.20]) (push) Successful in 59s
cascade PR goes to a fork for setup-forgejo
2023-11-04 00:09:27 +01:00

25 lines
796 B
YAML

# SPDX-License-Identifier: MIT
on:
pull_request_target:
types:
- opened
- synchronize
- closed
jobs:
cascade:
runs-on: docker
steps:
- uses: actions/checkout@v4
- 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: actions/setup-forgejo
destination-fork-repo: cascading-pr/setup-forgejo
destination-branch: main
destination-token: ${{ secrets.CASCADING_PR_DESTINATION }}
update: .forgejo/cascading-pr-setup-forgejo