diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index b31956c..5e436e2 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -1,11 +1,13 @@ name: tag on: workflow_run: - workflows: ["test"] + workflows: + - test branches: - main - dev - types: [completed] + types: + - completed jobs: tag: name: Tag the repository diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 16a4f71..91dff04 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -51,19 +51,4 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install coveralls - python -m coveralls --service=github --finish - tag: - needs: test - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: '0' - - name: Bump version and push tag - uses: anothrNick/github-tag-action@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WITH_V: true - PRERELEASE_SUFFIX: snapshot \ No newline at end of file + python -m coveralls --service=github --finish \ No newline at end of file