Skip to content

publish-site Started to Fail recently due to build-book #457

@erogluorhan

Description

@erogluorhan

What happened:

The publish-site actions started to fail in the last two weeks. The error is happening at the cookbook-actions/build-book.yaml's "Test for environment change" step, which uses tj-actions/changed-files@v45.

The failure started to occur after the version bump from v44 to v45 for tj-actions/changed-files. FYI: @jukent

The error message is:

"Error: Unable to locate the git repository in the given path: /home/runner/work/projectpythia.github.io/projectpythia.github.io.
Please run actions/checkout before this action (Make sure the 'path' input is correct).
If you intend to use Github's REST API note that only pull_request* events are supported. Current event is "schedule"."

With the publish-site actions, we don't run Checkout the code from the repo because build_from_code_artifact: 'true' in here.

Minimal Complete Verifiable Example:

https://github.com/ProjectPythia/projectpythia.github.io/actions/runs/10871645277

Anything else we need to know?:

It looks like we will need to either downgrade tj-actions/changed-files from v45 to v44 to fix things for now, or figure if we can run actions/checkout in publish-site as it is requested by v45.

Metadata

Metadata

Assignees

Labels

bugIssues that present a reasonable conviction there is a reproducible bug.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions