From de83f5e9dd1734a08986b625ba00b73752b9bb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20L=C3=B6sche?= Date: Wed, 13 Mar 2024 20:18:39 +0100 Subject: [PATCH] Move to correct workflow --- .github/workflows/bump.yml | 11 ----------- .github/workflows/publish.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index ad04843..a4701ed 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -34,14 +34,3 @@ jobs: git commit -m "Bump version to $version" git tag -a "$version" -m "$version" git push && git push --tags - - name: Trigger workflow in fixinventory repo - if: ${{ github.actor != 'someci' }} - env: - GITHUB_TOKEN: ${{ secrets.SOME_CI_PAT }} - run: | - curl \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: token $GITHUB_TOKEN" \ - https://api.github.com/repos/someengineering/fixinventory/dispatches \ - -d '{"event_type": "bump_fixcompliance"}' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 90f3591..58c26ac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,3 +47,15 @@ jobs: user: __token__ password: ${{ secrets.PYPI_FIXCOMPLIANCE }} packages_dir: ./dist/ + + - name: Trigger workflow in fixinventory repo + if: ${{ github.actor != 'someci' }} + env: + GITHUB_TOKEN: ${{ secrets.SOME_CI_PAT }} + run: | + curl \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: token $GITHUB_TOKEN" \ + https://api.github.com/repos/someengineering/fixinventory/dispatches \ + -d '{"event_type": "bump_fixcompliance"}'