event cascading-prs need branches built out of the version

each version for which events are collected need a different branch in
the destination repository because they will open pull requests for
each of the versions.
This commit is contained in:
Earl Warren 2024-01-09 21:44:00 +01:00
parent cb4932192a
commit 793c91b254
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -72,6 +72,7 @@ jobs:
destination-repo: forgejo/docs
destination-branch: ${{ matrix.info.branch || matrix.info.version }}
destination-token: ${{ secrets.CASCADE_DOCS_DESTINATION_TOKEN }}
prefix: ${{ env.GITHUB_REPOSITORY }}-${{ matrix.info.version }}
update: .forgejo/cascading-docs
env:
VERSION: "${{ steps.run.outputs.full_version }}"