mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-19 17:01:12 +00:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://data.forgejo.org/actions/cascading-pr](https://code.forgejo.org/actions/cascading-pr) | action | patch | `v2.2.0` -> `v2.2.1` | --- ### Release Notes <details> <summary>actions/cascading-pr (https://data.forgejo.org/actions/cascading-pr)</summary> ### [`v2.2.1`](https://code.forgejo.org/actions/cascading-pr/compare/v2.2.0...v2.2.1) [Compare Source](https://code.forgejo.org/actions/cascading-pr/compare/v2.2.0...v2.2.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4xIiwidXBkYXRlZEluVmVyIjoiNDEuMzIuMSIsInRhcmdldEJyYW5jaCI6ImZvcmdlam8iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS11cGdyYWRlIiwidGVzdC9ub3QtbmVlZGVkIl19--> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8586 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
# Copyright 2024 The Forgejo Authors
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
# To modify this workflow:
|
|
#
|
|
# - push it to the wip-ci-end-to-end branch on the forgejo repository
|
|
# otherwise it will not have access to the secrets required to push
|
|
# the cascading PR
|
|
#
|
|
# - once it works, open a pull request for the sake of keeping track
|
|
# of the change even if the PR won't run it because it will use
|
|
# whatever is in the default branch instead
|
|
#
|
|
# - after it is merged, double check it works by setting the
|
|
# run-end-to-end-test on a pull request (any pull request will do)
|
|
#
|
|
name: issue-labels
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'wip-ci-end-to-end'
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
|
|
jobs:
|
|
cascade:
|
|
if: >
|
|
vars.ROLE == 'forgejo-coding' && (
|
|
github.event_name == 'push' ||
|
|
(
|
|
github.event.action == 'label_updated' && github.event.label.name == 'run-end-to-end-tests'
|
|
)
|
|
)
|
|
runs-on: docker
|
|
container:
|
|
image: data.forgejo.org/oci/node:22-bookworm
|
|
steps:
|
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
|
with:
|
|
fetch-depth: '0'
|
|
show-progress: 'false'
|
|
- uses: https://data.forgejo.org/actions/cascading-pr@v2.2.1
|
|
with:
|
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
|
origin-repo: ${{ github.repository }}
|
|
origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }}
|
|
origin-pr: ${{ github.event.pull_request.number }}
|
|
origin-ref: ${{ github.event_name == 'push' && github.event.ref || '' }}
|
|
destination-url: https://code.forgejo.org
|
|
destination-fork-repo: cascading-pr/end-to-end
|
|
destination-repo: forgejo/end-to-end
|
|
destination-branch: main
|
|
destination-token: ${{ secrets.END_TO_END_CASCADING_PR_DESTINATION }}
|
|
close-merge: true
|
|
update: .forgejo/cascading-pr-end-to-end
|