mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-04-22 00:48:44 +00:00
Compare commits
15 commits
Author | SHA1 | Date | |
---|---|---|---|
|
98b48e57d7 | ||
|
d6dc30aab8 | ||
|
1d5c353846 | ||
|
f072f7866d | ||
|
f461edbd25 | ||
|
1a1ee091b9 | ||
|
1555709278 | ||
|
e504bda0dc | ||
|
184ebe0397 | ||
|
ac3a1ea169 | ||
|
df9f617caf | ||
|
bd58cd8c9b | ||
|
632b77ff09 | ||
|
cfe5ef6817 | ||
|
cf57fd2dc4 |
4 changed files with 15 additions and 5 deletions
|
@ -4,16 +4,17 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
integration:
|
integration:
|
||||||
runs-on: self-hosted
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: forgejo
|
- id: forgejo
|
||||||
uses: https://code.forgejo.org/actions/setup-forgejo@v1
|
uses: https://code.forgejo.org/actions/setup-forgejo@v1.0.1
|
||||||
with:
|
with:
|
||||||
user: root
|
user: root
|
||||||
password: admin1234
|
password: admin1234
|
||||||
|
|
|
@ -116,7 +116,6 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- run: |
|
- run: |
|
||||||
export PATH=${{ github.action_path }}:$PATH
|
export PATH=${{ github.action_path }}:$PATH
|
||||||
|
|
||||||
|
|
|
@ -77,11 +77,15 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
function pr_destination_title() {
|
function pr_destination_title() {
|
||||||
echo "cascading-pr from ${options[origin_url]}/${options[origin_repo]} ${options[origin_head]}"
|
echo "cascading-pr from ${options[origin_url]}/${options[origin_repo]} ${options[origin_head]} to ${options[destination_head]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function pr_destination_body() {
|
function pr_destination_body() {
|
||||||
|
if [[ -n "${options[origin_pr]}" ]]; then
|
||||||
|
echo "cascading-pr from ${options[origin_url]}/${options[origin_repo]}/pulls/${options[origin_pr]}"
|
||||||
|
else
|
||||||
echo "cascading-pr from ${options[origin_url]}/${options[origin_repo]} ${options[origin_head]}"
|
echo "cascading-pr from ${options[origin_url]}/${options[origin_repo]} ${options[origin_head]}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function upsert_destination_pr() {
|
function upsert_destination_pr() {
|
||||||
|
|
6
renovate.json
Normal file
6
renovate.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"local>actions/renovate-config"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue