Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 18, 2025

This PR contains the following updates:

Package Type Update Change
stefanzweifel/git-auto-commit-action action patch v6v6.0.1

Release Notes

stefanzweifel/git-auto-commit-action (stefanzweifel/git-auto-commit-action)

v6.0.1

Compare Source

Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file github-tags patch labels Jun 18, 2025
@renovate renovate bot requested a review from a team as a code owner June 18, 2025 00:02
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from dcdf0c7 to 05fd12c Compare July 28, 2025 15:35
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from 05fd12c to f3246d7 Compare August 10, 2025 15:37
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from f3246d7 to 612ea6f Compare September 25, 2025 17:56
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from 612ea6f to d85ff69 Compare October 9, 2025 11:48
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from d85ff69 to 8cf92be Compare November 10, 2025 23:09
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from 8cf92be to b8637f4 Compare December 15, 2025 15:06
@renovate renovate bot force-pushed the renovate/stefanzweifel-git-auto-commit-action-6.x branch from b8637f4 to a41cfde Compare February 2, 2026 16:03
Comment on lines 43 to 49
fi

- name: Commit chart version
uses: stefanzweifel/git-auto-commit-action@v6
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
if: steps.commit_exists.outputs.result == 'false'
with:
commit_message: ${{ env.COMMIT_MESSAGE }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The workflow references steps.pr.outputs.base_ref, which does not exist. This will cause the git command to fail and terminate the workflow on every run.
Severity: CRITICAL

Suggested Fix

To fix this, you need to correctly determine the base reference for a push event. One approach is to use github.ref_name to get the current branch and then determine the base branch (e.g., main or master) to compare against. Alternatively, change the workflow trigger from push to pull_request if these branches always have an associated pull request, which would make github.base_ref available.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: .github/workflows/build.yaml#L43-L49

Potential issue: The GitHub workflow is configured to trigger on `push` events for
Renovate and Dependabot branches. It attempts to set the `BASE_REF` environment variable
using `steps.pr.outputs.base_ref`, but no step with `id: pr` is defined. As a result,
`BASE_REF` will be an empty string. This causes the subsequent `git rev-list` command to
be malformed (`git rev-list --pretty=oneline "origin/..HEAD"`), which will always fail.
Because the step is configured to exit on error, the entire workflow will fail,
preventing automated dependency updates from being processed.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github-tags patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants