summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release-github-action.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/release-github-action.yml b/.github/workflows/release-github-action.yml
new file mode 100644
index 000000000..491f66f6d
--- /dev/null
+++ b/.github/workflows/release-github-action.yml
@@ -0,0 +1,29 @@
+name: release-github-action
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - "github/**"
+
+concurrency: ${{ github.workflow }}-${{ github.ref }}
+
+permissions:
+ contents: write
+
+jobs:
+ release:
+ runs-on: blacksmith-4vcpu-ubuntu-2404
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - run: git fetch --force --tags
+
+ - name: Release
+ run: |
+ git config --global user.email "[email protected]"
+ git config --global user.name "opencode"
+ ./github/script/release