Skip to content

Commit 680959e

Browse files
author
jgstern-agent
committed
ci: add GitHub Actions workflow for release mirroring
When a version tag (v*) is pushed to Codeberg and synced to the GitHub mirror, this workflow automatically creates a corresponding GitHub Release with auto-generated release notes. The release body links back to the canonical Codeberg release. Signed-off-by: jgstern-agent <josh-agent@iterabloom.com>
1 parent 7c67eec commit 680959e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Mirror Release from Codeberg
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
create-release:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Create GitHub Release
17+
uses: softprops/action-gh-release@v2
18+
with:
19+
generate_release_notes: true
20+
body: |
21+
This release was automatically mirrored from [Codeberg](https://codeberg.org/iterabloom/hypergumbo).
22+
23+
For the canonical release, see: https://codeberg.org/iterabloom/hypergumbo/releases/tag/${{ github.ref_name }}

0 commit comments

Comments
 (0)