1
0
Fork 0
mirror of https://code.forgejo.org/actions/cascading-pr synced 2025-03-14 22:36:58 +01:00
cascading-pr/tests/origin-branch/.forgejo/workflows/test.yml
Earl Warren 09dc15f425
close-merge is close and applies to destination-ref as well
* workflows that have close-merge need to change to close
* the behavior for when origin-pr is set does not change
* the behavior for when origin-ref is set is to honor close
  instead of always closing the PR
2024-01-09 19:47:48 +01:00

21 lines
598 B
YAML

# SPDX-License-Identifier: MIT
name: test
on: [push]
jobs:
test:
runs-on: docker
steps:
- uses: SELF@vTest
with:
origin-url: ${{ env.GITHUB_SERVER_URL }}
origin-repo: user1/origin-branch
origin-token: ${{ secrets.ORIGIN_TOKEN }}
origin-ref: refs/heads/main
destination-url: ${{ env.GITHUB_SERVER_URL }}
destination-repo: user2/destinationrepo
destination-branch: main
destination-token: ${{ secrets.DESTINATION_TOKEN }}
close: true
update: ./upgraded
debug: true