diff --git a/.github/workflows/check_milvus_proto.yml b/.github/workflows/check_milvus_proto.yml index b12887b51..9ed5ff85b 100644 --- a/.github/workflows/check_milvus_proto.yml +++ b/.github/workflows/check_milvus_proto.yml @@ -3,7 +3,6 @@ name: Check proto on pull request on: pull_request: branches: - - master - 2.5 jobs: diff --git a/.github/workflows/code_checker.yml b/.github/workflows/code_checker.yml index 2578d0459..3a537808e 100644 --- a/.github/workflows/code_checker.yml +++ b/.github/workflows/code_checker.yml @@ -3,7 +3,6 @@ name: Code checker on pull request on: pull_request: branches: - - master - 2.5 jobs: diff --git a/.github/workflows/doc_update_event.yml b/.github/workflows/doc_update_event.yml deleted file mode 100644 index 015a28f1f..000000000 --- a/.github/workflows/doc_update_event.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: web-content - Dispatch event after docs files updated - -on: - push: - branches-ignore: - - 'master' - - '1.*' - paths: - - 'docs/**' - -jobs: - dispatch_event: - name: Dispatch event - runs-on: ubuntu-latest - steps: - - id: extract_branch - name: Extract branch name - shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - - id: dispatch_branch_name - name: Dispatch branch name if update any docs - run: | - curl \ - -X POST \ - -H "Accept: application/vnd.github.v3+json" \ - "https://api.github.com/repos/milvus-io/web-content/actions/workflows/updateApiByBranchEvent.yml/dispatches" \ - -d '{"ref":"master", "inputs": { "branchName": "${{ steps.extract_branch.outputs.branch }}", "repoName": "${{ github.event.repository.name }}" } }' \ - -u ".:${{secrets.DOC_TOKEN}}" \ No newline at end of file diff --git a/.github/workflows/publish_dev_package.yml b/.github/workflows/publish_dev_package.yml index 407607484..4fe35d00e 100644 --- a/.github/workflows/publish_dev_package.yml +++ b/.github/workflows/publish_dev_package.yml @@ -3,7 +3,6 @@ name: Publish Python 🐍 distributions 📦 to TestPyPI on: push: branches: - - 'master' - '2.5' jobs: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index adbc54353..07aadeff3 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,7 +3,6 @@ name: Test on pull request on: pull_request: branches: - - master - 2.5 jobs: diff --git a/.github/workflows/release_event.yml b/.github/workflows/release_event.yml deleted file mode 100644 index 52732343c..000000000 --- a/.github/workflows/release_event.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: web-content - Dispatch new release event -on: - release: - types: [published] - -jobs: - dispatch: - name: Dispatch event - runs-on: ubuntu-latest - steps: - - name: Tag name - id: tag_name - run: | - echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} - - name: Dispatch tag name - id: dispatch_tag_name - run: | - curl \ - -X POST \ - -H "Accept: application/vnd.github.v3+json" \ - "https://api.github.com/repos/milvus-io/web-content/actions/workflows/updateApiReference.yml/dispatches" \ - -d '{"ref":"master", "inputs": { "tagName": "${{ steps.tag_name.outputs.SOURCE_TAG }}", "repoName": "${{ github.event.repository.name }}" } }' \ - -u ".:${{secrets.DOC_TOKEN}}"