From 9e4f7cd44304856411641473bb54ef33d7b8969a Mon Sep 17 00:00:00 2001 From: geokrety-bot Date: Tue, 8 Aug 2023 19:05:33 +0200 Subject: [PATCH] ci: clean semantic-release comments --- .github/workflows/release.yml | 1 + .github/workflows/semantic-release.yml | 22 ++++++---------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f22454..6f9a459 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,5 @@ name: Automatic release +# Use this one for default pre-commit pre-installed tools on: push: diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 58f55c4..50b9575 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -1,4 +1,5 @@ name: Automatic release +# Use this one for custom pre-commit config (needing custom tools) on: workflow_call: @@ -7,19 +8,8 @@ on: required: true jobs: - # pre-commit: - # if: "!contains(github.event.head_commit.message, 'skip ci')" - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v3 - # - uses: geokrety/geokrety-gha-workflows/.github/actions/pre-commit@main - - semantic-release: - if: "!contains(github.event.head_commit.message, 'skip ci')" - # needs: pre-commit - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: geokrety/geokrety-gha-workflows/.github/actions/semantic-release@main - with: - token: ${{ secrets.GH_TOKEN }} + build-release: + uses: geokrety/geokrety-gha-workflows/.github/workflows/semantic-release.yml@main + needs: pre-commit + secrets: + GH_TOKEN: ${{ secrets.GH_TOKEN }}