Skip to content

Updated Enforce-CRLF action to v1.2.1#151

Merged
sancarn merged 2 commits intosancarn:masterfrom
DecimalTurn:patch-1
Jan 18, 2026
Merged

Updated Enforce-CRLF action to v1.2.1#151
sancarn merged 2 commits intosancarn:masterfrom
DecimalTurn:patch-1

Conversation

@DecimalTurn
Copy link
Contributor

A recent action run for Enforce-CRLF failed and I'm trying to see why. My suspicion is that it's related to the it-auto-commit-action version updated in https://github.com/DecimalTurn/Enforce-CRLF/releases/tag/v1.2.1

Comparision between v1.1.3 and v1.2.1

Hopefully, this fixes it. Otherwise, I'll investigate further.

@DecimalTurn
Copy link
Contributor Author

DecimalTurn commented Jan 17, 2026

The workflow running from this PR won't have the permission to perform the commit, but the reason for the failure earlier is not related to permission.

error: failed to push some refs to 'https://github.com/sancarn/stdVBA'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

The earlier failure has to do with the fact that the latest commit on the branch was not the one the Enforce-CRLF action was running on because the documentation update created a new commit on the branch before Enforce-CRLF was able to do its job.

image

@DecimalTurn
Copy link
Contributor Author

DecimalTurn commented Jan 17, 2026

I've added an option to run the Enforce-CRLF action on demand (workflow_dispatch), so it can be eaisly re-run in case the documentation update causes it to fail.

@sancarn sancarn merged commit 78a6cb9 into sancarn:master Jan 18, 2026
1 check failed
@sancarn
Copy link
Owner

sancarn commented Jan 18, 2026

Thanks @DecimalTurn

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants