Skip to content

Commit

Permalink
[CI] Remove all tag and release events (#5036)
Browse files Browse the repository at this point in the history
This PR removes all events for tags and release since the release
workflow will use other conditions to be executed
  • Loading branch information
frascuchon authored Jun 17, 2024
1 parent cff6e42 commit ec8b091
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/argilla-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
push:
paths:
- argilla-server/**
tags:
- "*"
branches:
- main
- develop
Expand All @@ -26,10 +24,6 @@ on:
paths:
- argilla-server/**

release:
types:
- published

jobs:
build:
name: Build `argilla-server` package
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/argilla-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
push:
paths:
- argilla-v1/**
tags:
- "*"
branches:
- main
- develop
Expand All @@ -23,11 +21,6 @@ on:
paths:
- argilla-v1/**

release:
types:
- "published"
- "released"

jobs:
build:
runs-on: ubuntu-latest
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/argilla.docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
4 changes: 0 additions & 4 deletions .github/workflows/argilla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ on:
- argilla/**
- "!argilla/docs/**"

release:
types:
- "published"

defaults:
run:
working-directory: argilla
Expand Down

0 comments on commit ec8b091

Please sign in to comment.