From ec8b091381baad0f690825ada12fcede920536da Mon Sep 17 00:00:00 2001 From: Paco Aranda Date: Mon, 17 Jun 2024 10:46:00 +0200 Subject: [PATCH] [CI] Remove all tag and release events (#5036) This PR removes all events for tags and release since the release workflow will use other conditions to be executed --- .github/workflows/argilla-server.yml | 6 ------ .github/workflows/argilla-v1.yml | 7 ------- .github/workflows/argilla.docs.yml | 7 ++----- .github/workflows/argilla.yml | 4 ---- 4 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/argilla-server.yml b/.github/workflows/argilla-server.yml index 3528ec7b7c..e0af03f1fa 100644 --- a/.github/workflows/argilla-server.yml +++ b/.github/workflows/argilla-server.yml @@ -14,8 +14,6 @@ on: push: paths: - argilla-server/** - tags: - - "*" branches: - main - develop @@ -26,10 +24,6 @@ on: paths: - argilla-server/** - release: - types: - - published - jobs: build: name: Build `argilla-server` package diff --git a/.github/workflows/argilla-v1.yml b/.github/workflows/argilla-v1.yml index 2870c3d149..c6db82e697 100644 --- a/.github/workflows/argilla-v1.yml +++ b/.github/workflows/argilla-v1.yml @@ -11,8 +11,6 @@ on: push: paths: - argilla-v1/** - tags: - - "*" branches: - main - develop @@ -23,11 +21,6 @@ on: paths: - argilla-v1/** - release: - types: - - "published" - - "released" - jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/argilla.docs.yml b/.github/workflows/argilla.docs.yml index 22f3f09fb6..c171ab253f 100644 --- a/.github/workflows/argilla.docs.yml +++ b/.github/workflows/argilla.docs.yml @@ -14,8 +14,6 @@ on: # - "develop" - "feat/v2.0.0" # Fixing this branch until we merge everything into develop - "docs/**" # When we create a new branch only for docs - tags: - - "*" defaults: run: @@ -54,8 +52,7 @@ jobs: git config --global user.email "${{ github.actor }}@users.noreply.github.com" - name: Print GitHub ref info - run: - echo "${{ github.ref }}" + run: echo "${{ github.ref }}" echo "${{ github.head_ref }}" - run: pdm run mike deploy dev --push @@ -77,4 +74,4 @@ jobs: - run: pdm run mike deploy ${{ steps.extract_branch_name.outputs.branch_name }} --push if: startsWith(github.ref, 'refs/heads/docs') || startsWith(github.head_ref, 'docs/') env: - GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} \ No newline at end of file + GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} diff --git a/.github/workflows/argilla.yml b/.github/workflows/argilla.yml index 7dd20e276b..5b0bfe4845 100644 --- a/.github/workflows/argilla.yml +++ b/.github/workflows/argilla.yml @@ -28,10 +28,6 @@ on: - argilla/** - "!argilla/docs/**" - release: - types: - - "published" - defaults: run: working-directory: argilla