Skip to content

Commit

Permalink
Fix Update Dev Version on Release Workflow (#304)
Browse files Browse the repository at this point in the history
* updated triggering workflow name

* added manual dispatch to auto-publish

* UNDO added manual dispatch to auto-publish

* updated changelog

* updated token
  • Loading branch information
pauladkisson authored Apr 16, 2024
1 parent 2ae47f1 commit fa12a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update Dev Version on Release
on:
workflow_dispatch:
workflow_run:
workflows: [auto-publish]
workflows: [Upload Package to PyPI]
types: [completed]

jobs:
Expand Down Expand Up @@ -38,4 +38,4 @@ jobs:
git push origin update_dev_version
gh pr create --title "[Github.CI] Update dev version from $old_version to $new_version" --body "version: $old_version --> $new_version"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Fixes

* The triggering workflow name for update version was incorrectly set to `auto-publish` (the name of the yaml file). It has been renamed to `Upload Package to PyPI` (the name field of the workflow): [PR #304](https://github.com/catalystneuro/roiextractors/pull/304).

# v0.5.7

### Features
Expand Down

0 comments on commit fa12a51

Please sign in to comment.