Skip to content

Commit

Permalink
ci: debugging failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Sep 3, 2024
1 parent 55d9195 commit 43ecaf5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
Use an empty string, e.g. "", for dependencies located in the default group'
required: false
type: string
default: ''
default: '{}'
update-pre-commit:
description: A boolean indicating if the pre-commit hooks should be updated.
required: false
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-python-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [main]
jobs:
determine-dependency-groups:
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }}
# if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} # TODO: revert
runs-on: ubuntu-latest
outputs:
export-groups: ${{ steps.set-output.outputs.export-groups }}
Expand All @@ -15,6 +15,7 @@ jobs:
- name: Get commit message
id: get-commit-message
run: |
git log -2 --pretty=%B
commit_message="$(git log -2 --pretty=%B | sed -n '2p')"
echo "commit-message=$commit_message" >> "$GITHUB_OUTPUT"
- name: Determine the groups that will need to be exported
Expand All @@ -39,7 +40,7 @@ jobs:
fi
echo "export-groups=$export_groups" >> "$GITHUB_OUTPUT"
update-python-and-pre-commit-deps:
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }}
# if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} # TODO: revert
needs: determine-dependency-groups
uses: ./.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion actions/update_development_dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
to update within that group, e.g. {"dev": ["pylint", "ruff"], "tests": ["ruff"]}.
Use an empty string, e.g. "", for dependencies located in the default group'
required: false
default: ''
default: '{}'
update-pre-commit:
description: A boolean indicating if the pre-commit hooks should be updated.
required: false
Expand Down

0 comments on commit 43ecaf5

Please sign in to comment.