[PR #1940] [MERGED] fix: use actions/runner hashfiles in container #2200

Closed
opened 2026-03-01 21:54:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1940
Author: @ChristopherHX
Created: 8/1/2023
Status: Merged
Merged: 10/3/2023
Merged by: @mergify[bot]

Base: masterHead: run-hash-files-in-container


📝 Commits (5)

  • af7038b fix: use actions/runner hashfiles in container
  • 23eb4c1 fix: lint
  • af32fab fix: lint
  • d3e4076 fix assign follow symlink flag
  • b23d208 Merge branch 'master' into run-hash-files-in-container

📊 Changes

3 files changed (+5200 additions, -20 deletions)

View changed files

📝 pkg/exprparser/interpreter.go (+16 -12)
📝 pkg/runner/expression.go (+81 -8)
pkg/runner/hashfiles/index.js (+5103 -0)

📄 Description

Previously hashfiles ran on the host,
this don't work for container generated content

Primary for github-act-runner and act_runner downstream projects, because they don't have a checkout on the host.

The src of hashfiles can be found in actions/runner. I don't see any legal issues both act and actions/runner use the same type of license.

Fixes #2014


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1940 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 8/1/2023 **Status:** ✅ Merged **Merged:** 10/3/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `run-hash-files-in-container` --- ### 📝 Commits (5) - [`af7038b`](https://github.com/nektos/act/commit/af7038b5c64ab9f9d1f3fef4664fbfd97bba7e16) fix: use actions/runner hashfiles in container - [`23eb4c1`](https://github.com/nektos/act/commit/23eb4c17cdccc9061b643e7da532bbbd40e98fd2) fix: lint - [`af32fab`](https://github.com/nektos/act/commit/af32fabb48117734b86500b7786569d0ac003cf3) fix: lint - [`d3e4076`](https://github.com/nektos/act/commit/d3e40768c2e5a5d3f33b55dddd1d58283bb00ca8) fix assign follow symlink flag - [`b23d208`](https://github.com/nektos/act/commit/b23d208b99e84171a6f1297784cbbf5b87cebc19) Merge branch 'master' into run-hash-files-in-container ### 📊 Changes **3 files changed** (+5200 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `pkg/exprparser/interpreter.go` (+16 -12) 📝 `pkg/runner/expression.go` (+81 -8) ➕ `pkg/runner/hashfiles/index.js` (+5103 -0) </details> ### 📄 Description Previously hashfiles ran on the host, this don't work for container generated content Primary for github-act-runner and act_runner downstream projects, because they don't have a checkout on the host. The src of hashfiles can be found in actions/runner. I don't see any legal issues both act and actions/runner use the same type of license. Fixes #2014 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:54:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2200
No description provided.