[GH-ISSUE #729] Issue: GITHUB_ENV is not guaranteed to exist, causes a permission denied error #458

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

Originally created by @blampe on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/729

Upgraded act while trying to debug another issue and ran into this bug which broke a step which was working fine on 0.21.

System information

  • Operating System: Darwin Kernel Version 20.5.0
  • Architecture: x86_64
  • Apple M1: No
  • Docker version: 20.10.6, build 370c289
  • Docker image used in act: catthehacker/ubuntu:full-20.04
  • act version: 05bce00

Expected behaviour

Runs successfully.

Actual behaviour

[Foo/foo-2] Exec command '[node /var/run/act/actions/aws-actions-configure-aws-credentials@v1/dist/index.js]'
[Foo/foo-1]   ❗  ::error::EACCES: permission denied, open '/var/run/act/workflow/envs.txt'
[Rails Tests/rails_tests-1]   ❌  Failure - Configure AWS Credentials

Workflow and/or repository

name: Foo
jobs:
  foo:
    steps:
      - uses: aws-actions/configure-aws-credentials@v1
Originally created by @blampe on GitHub (Jun 8, 2021). Original GitHub issue: https://github.com/nektos/act/issues/729 Upgraded `act` while trying to debug another issue and ran into this bug which broke a step which was working fine on 0.21. ## System information - Operating System: Darwin Kernel Version 20.5.0 - Architecture: x86_64 - Apple M1: No - Docker version: 20.10.6, build 370c289 - Docker image used in `act`: catthehacker/ubuntu:full-20.04 - `act` version: 05bce00 ## Expected behaviour Runs successfully. ## Actual behaviour ``` [Foo/foo-2] Exec command '[node /var/run/act/actions/aws-actions-configure-aws-credentials@v1/dist/index.js]' [Foo/foo-1] ❗ ::error::EACCES: permission denied, open '/var/run/act/workflow/envs.txt' [Rails Tests/rails_tests-1] ❌ Failure - Configure AWS Credentials ``` ## Workflow and/or repository ``` name: Foo jobs: foo: steps: - uses: aws-actions/configure-aws-credentials@v1 ```
kerem 2026-03-01 21:43:35 +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#458
No description provided.