Skip to content

fix(changelog-check): use correct reference in workflow checkout#62

Merged
cryptodev-2s merged 1 commit into
mainfrom
fix/workflow-reference-checkout
Apr 22, 2025
Merged

fix(changelog-check): use correct reference in workflow checkout#62
cryptodev-2s merged 1 commit into
mainfrom
fix/workflow-reference-checkout

Conversation

@cryptodev-2s
Copy link
Copy Markdown
Contributor

@cryptodev-2s cryptodev-2s commented Apr 22, 2025

Description

This PR fixes the workflow checkout reference issue in the changelog check workflow. Previously, the workflow was using ${{ github.sha }}(here) which caused a "not our ref" error because it was trying to use the current workflow run's SHA instead of the reference used to call the workflow.

Changes

  • Updated workflow checkout to use ${{ github.action_ref }} to match the reference used in the workflow call
  • This ensures the workflow uses the same reference (SHA or branch) that was specified in the workflow call

Use ${{ github.action_ref }} to match the reference used in the workflow call, fixing the "not our ref" error.
@cryptodev-2s cryptodev-2s self-assigned this Apr 22, 2025
@cryptodev-2s cryptodev-2s requested a review from mcmire April 22, 2025 22:41
@cryptodev-2s cryptodev-2s changed the title fix: use correct reference in workflow checkout fix(changelog-check): use correct reference in workflow checkout Apr 22, 2025
@cryptodev-2s cryptodev-2s merged commit e22f391 into main Apr 22, 2025
19 checks passed
@cryptodev-2s cryptodev-2s deleted the fix/workflow-reference-checkout branch April 22, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants