Skip to content

validate_jinja action will fail with "bad revision" sometimes. #55

@BryceStevenWilley

Description

@BryceStevenWilley

GITHUB_SHA will not always be the correct HEAD value of the repo, for unintuitive reasons. If we get errors like fatal: bad revision from git, we should just check all of the docx's, instead of trying to get just those that changed recently.

Should just run find . -name "*.docx" if git fails for any reason.

The details about how GitHub handles SHAs for certain force pushes here:

https://github.com/orgs/community/discussions/26325

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions