From d4bcd15847ed094f5f10df3b3ce39c12e7b366a3 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 23 Oct 2023 00:12:03 +0200 Subject: [PATCH 1/3] [FORGEJO] cosmetic change --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92593c2..f62fe70 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,9 @@ create a network that cannot reach the forgejo instance. ### Try a sample workflow -From the Forgejo web interface, create a repository and add the following to `.forgejo/workflows/try.yaml`. It will launch the job and the result can be observed from the `actions` tab. +From the Forgejo web interface, create a repository and add the +following to `.forgejo/workflows/try.yaml`. It will launch the job and +the result can be observed from the `actions` tab. ```yaml on: [push] From 0863f48c7e1fd694875f93dcdf5cdcf75961d03a Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 24 Oct 2023 23:39:39 +0200 Subject: [PATCH 2/3] cascade-setup-forgejo: close when the PR is merged --- .forgejo/workflows/cascade-setup-forgejo.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/cascade-setup-forgejo.yml b/.forgejo/workflows/cascade-setup-forgejo.yml index fcfb558..5f6e122 100644 --- a/.forgejo/workflows/cascade-setup-forgejo.yml +++ b/.forgejo/workflows/cascade-setup-forgejo.yml @@ -20,4 +20,5 @@ jobs: destination-repo: actions/setup-forgejo destination-branch: main destination-token: ${{ secrets.CASCADING_PR_DESTINATION }} + close-merge: true update: .forgejo/cascading-pr-setup-forgejo From 83572c5c71cb5f1f0ac93ec17b822e1174a8e3d7 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 25 Oct 2023 00:35:51 +0200 Subject: [PATCH 3/3] store time of last upgrade --- .forgejo/cascading-pr-setup-forgejo | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/cascading-pr-setup-forgejo b/.forgejo/cascading-pr-setup-forgejo index 8e9c59f..39a72b8 100755 --- a/.forgejo/cascading-pr-setup-forgejo +++ b/.forgejo/cascading-pr-setup-forgejo @@ -12,3 +12,4 @@ branch=$(jq --raw-output .head.ref < $runner_pr) test "$branch" != null cd $setup_forgejo ./utils/upgrade-runner.sh $url @$branch +date > last-upgrade