v1.2.3 #9

Merged
timi merged 1 commits from dev into master 2026-01-19 05:22:31 +00:00

View File

@ -30,14 +30,14 @@ jobs:
create-release: create-release:
runs-on: act_runner_base runs-on: act_runner_base
needs: build-deploy needs: build-deploy
if: ${{ success() && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'master' }} if: ${{ success() && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'master' && startsWith(github.event.pull_request.title, 'v') }}
steps: steps:
- name: Create release - name: Create release
env: env:
GITEA_TOKEN: ${{ secrets.RUNNER_TOKEN }} GITEA_TOKEN: ${{ secrets.RUNNER_TOKEN }}
GITEA_SERVER_URL: ${{ github.server_url }} GITEA_SERVER_URL: ${{ github.server_url }}
GITEA_REPOSITORY: ${{ github.repository }} GITEA_REPOSITORY: ${{ github.repository }}
RELEASE_TAG: ci-${{ github.run_id }} RELEASE_TAG: ${{ github.event.pull_request.title }}
RELEASE_TARGET: ${{ github.sha }} RELEASE_TARGET: ${{ github.sha }}
run: | run: |
if [ -z "$GITEA_TOKEN" ]; then if [ -z "$GITEA_TOKEN" ]; then