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

chore(ci): fix issue related to wrong git ref was used for changed files calculations #363

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

overbit
Copy link
Contributor

@overbit overbit commented Mar 18, 2024

Fixes: amplication/amplication#8233

PR Details

Fix issue related to wrong git ref was used for changed files calculations.
The previous template was using steps.setSHAs.outputs.base but it was always evaluated as "undefined". Now it uses the env var setup by Nx set sha step as described here https://github.com/nrwl/nx-set-shas

i.e. https://github.com/amplication/plugins/actions/runs/8324867882/job/22777359713#step:6:60

PR Checklist

  • Tests for the changes have been added
  • npm build doesn't throw any error
  • npm test doesn't throw any error

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

@overbit overbit requested a review from mulygottlieb March 18, 2024 10:32
@mulygottlieb mulygottlieb merged commit e16872b into master Mar 18, 2024
6 checks passed
@mulygottlieb mulygottlieb deleted the fix/ci-nx-affected branch March 18, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants