Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vbump v2 #194

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/version-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ jobs:
else
FILE_PATTERN="${{ inputs.package-subdirectory }}/NEWS.md ${{ inputs.package-subdirectory }}/DESCRIPTION"
fi
if [[ '${{ steps.precommit-config-exists.outputs.files_exists }}' == 'true' ]]; then
FILE_PATTERN="$FILE_PATTERN .pre-commit-config.yaml"
fi
echo "file-pattern=$FILE_PATTERN" >> $GITHUB_OUTPUT
shell: bash

Expand All @@ -146,7 +149,7 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[skip actions] Bump version to ${{ env.NEW_PKG_VERSION }}"
file_pattern: "${{ steps.file-pattern.outputs.file-pattern }} .pre-commit-config.yaml"
file_pattern: "${{ steps.file-pattern.outputs.file-pattern }}"
commit_user_name: insights-engineering-bot
commit_user_email: >-
[email protected]
Expand Down
Loading