diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea3f6dc..d9bb198 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,6 @@ name: CI on: - push: - branches: - - main - - develop pull_request: branches: - main diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 028d0ba..5d5b51b 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -2,11 +2,12 @@ name: tag on: pull_request: - types: [closed] + branches: + - master jobs: tagVersion: - if: github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' + if: github.event.pull_request.merged == 'true' runs-on: ubuntu-latest steps: