From fa12a51ab3b3e183fa1a19fdc1a18fcfa0f7a19d Mon Sep 17 00:00:00 2001 From: Paul Adkisson Date: Tue, 16 Apr 2024 15:54:57 -0400 Subject: [PATCH] Fix Update Dev Version on Release Workflow (#304) * updated triggering workflow name * added manual dispatch to auto-publish * UNDO added manual dispatch to auto-publish * updated changelog * updated token --- .github/workflows/update-version.yml | 4 ++-- CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 0404582f..4419abf9 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -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: @@ -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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7bcfea..a0d162b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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