Skip to content

Commit

Permalink
Move to correct workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Mar 13, 2024
1 parent 54055fe commit de83f5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}'
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}'

0 comments on commit de83f5e

Please sign in to comment.