[PR #417] [MERGED] Act env #1445

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/417
Author: @torbjornvatn
Created: 11/12/2020
Status: Merged
Merged: 11/18/2020
Merged by: @cplee

Base: masterHead: ACT_env


📝 Commits (10+)

  • fbcf06e Test more if env variants
  • 3988f0b The correct negation syntax is !=
  • 001a926 Merge upstream/master into if_env_take2
  • 3c4e5fa Merge upstream/master into if_env_take2
  • c1ced5e Make the Interpolate function support negated booleans from envs
  • a1e6239 Move assert := a.New(t) into t.Run
  • b512f9e Merge upstream/master into if_env_take2
  • 76f50af Remove a stray logrus import
  • c9ad26c Add an ACT env set to true
  • 6522b1f Add a description about env.ACT to the readme

📊 Changes

4 files changed (+31 additions, -0 deletions)

View changed files

📝 .github/workflows/test-if.yml (+15 -0)
📝 README.md (+12 -0)
📝 pkg/runner/run_context.go (+1 -0)
📝 pkg/runner/run_context_test.go (+3 -0)

📄 Description

This can be used to skip certain steps that you don't want to run locally
when testing. E.g. steps that sends messages to Slack channels on successful
builds etc.


🔄 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/417 **Author:** [@torbjornvatn](https://github.com/torbjornvatn) **Created:** 11/12/2020 **Status:** ✅ Merged **Merged:** 11/18/2020 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `ACT_env` --- ### 📝 Commits (10+) - [`fbcf06e`](https://github.com/nektos/act/commit/fbcf06ededd3db6093e051f17dd0579b40266689) Test more if env variants - [`3988f0b`](https://github.com/nektos/act/commit/3988f0b050159d088999e9d4834da4a1846ecf6d) The correct negation syntax is != - [`001a926`](https://github.com/nektos/act/commit/001a92691381c2eb267311662489fd427172f852) Merge upstream/master into if_env_take2 - [`3c4e5fa`](https://github.com/nektos/act/commit/3c4e5faa46402f8b809a17ae32071a63d2a4519f) Merge upstream/master into if_env_take2 - [`c1ced5e`](https://github.com/nektos/act/commit/c1ced5e0a084e5345cfa1cf34ee548a5efe6f8ba) Make the Interpolate function support negated booleans from envs - [`a1e6239`](https://github.com/nektos/act/commit/a1e623916541d7fa8a0a309c006ea8784ef7427f) Move assert := a.New(t) into t.Run - [`b512f9e`](https://github.com/nektos/act/commit/b512f9e16ea7793f733fdad42a0bf76368a927e4) Merge upstream/master into if_env_take2 - [`76f50af`](https://github.com/nektos/act/commit/76f50afc555b7683d562ecd16503976d715d8ee5) Remove a stray logrus import - [`c9ad26c`](https://github.com/nektos/act/commit/c9ad26cf61438a530576770524c9a72bb6ebebbd) Add an ACT env set to true - [`6522b1f`](https://github.com/nektos/act/commit/6522b1fdf01737ed442c093eeec5d76498686d2e) Add a description about env.ACT to the readme ### 📊 Changes **4 files changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-if.yml` (+15 -0) 📝 `README.md` (+12 -0) 📝 `pkg/runner/run_context.go` (+1 -0) 📝 `pkg/runner/run_context_test.go` (+3 -0) </details> ### 📄 Description This can be used to skip certain steps that you don't want to run locally when testing. E.g. steps that sends messages to Slack channels on successful builds etc. --- <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:12 +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#1445
No description provided.