[PR #369] [MERGED] feat: support custom GITHUB_RUN_ID, GITHUB_RUN_NUMBER #1424

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/369
Author: @theowenyoung
Created: 9/19/2020
Status: Merged
Merged: 9/22/2020
Merged by: @cplee

Base: masterHead: master


📝 Commits (5)

  • 9c43bee feat: add fromJSON support
  • 6860769 Merge branch 'master' of github.com:nektos/act
  • ea6989d feat: support custom runId and runNumber
  • efe4122 chore: manual update
  • 4cf66f3 chore: lint

📊 Changes

3 files changed (+11 additions, -5 deletions)

View changed files

📝 .actrc (+0 -1)
📝 Makefile (+1 -1)
📝 pkg/runner/run_context.go (+10 -3)

📄 Description

Hi, I have a problem with GITHUB_RUN_ID.

the action actions/upload-artifact need to use GITHUB_RUN_ID, but act define it to 1, I suspect if there is a way to pass in a custom value, like use .env GITHUB_RUN_ID?

I submit a pr for this, would you give some advice?

jobs:
  print:
    name: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/upload-artifact@v2
         with:
           name: test
           path: ./test.txt

🔄 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/369 **Author:** [@theowenyoung](https://github.com/theowenyoung) **Created:** 9/19/2020 **Status:** ✅ Merged **Merged:** 9/22/2020 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`9c43bee`](https://github.com/nektos/act/commit/9c43bee89465b2fcd6018afe56bbace85ef399e3) feat: add fromJSON support - [`6860769`](https://github.com/nektos/act/commit/686076941c9ff73b6f03a887aa3905d8edb52f49) Merge branch 'master' of github.com:nektos/act - [`ea6989d`](https://github.com/nektos/act/commit/ea6989dfb0eb614aae7728f1befc9cef6afba0ac) feat: support custom runId and runNumber - [`efe4122`](https://github.com/nektos/act/commit/efe4122affba0fe65ee9eb2de9ac3ea561e4650d) chore: manual update - [`4cf66f3`](https://github.com/nektos/act/commit/4cf66f3b4b889546dce52e0d619779f05f3eae01) chore: lint ### 📊 Changes **3 files changed** (+11 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `.actrc` (+0 -1) 📝 `Makefile` (+1 -1) 📝 `pkg/runner/run_context.go` (+10 -3) </details> ### 📄 Description Hi, I have a problem with `GITHUB_RUN_ID`. the action `actions/upload-artifact` need to use `GITHUB_RUN_ID`, but act define it to `1`, I suspect if there is a way to pass in a custom value, like use `.env` `GITHUB_RUN_ID`? I submit a pr for this, would you give some advice? ```yaml jobs: print: name: test runs-on: ubuntu-latest steps: - uses: actions/upload-artifact@v2 with: name: test path: ./test.txt ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:07 +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#1424
No description provided.