[PR #1618] [MERGED] feat: workflowpattern package #2033

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1618
Author: @ChristopherHX
Created: 2/7/2023
Status: Merged
Merged: 2/23/2023
Merged by: @mergify[bot]

Base: masterHead: feat-workflow-pattern-package


📝 Commits (3)

  • 5f6875c feat: workflowpattern package
  • 154ad7b nolint:gocyclo
  • 1f84d1b Merge branch 'master' into feat-workflow-pattern-package

📊 Changes

3 files changed (+628 additions, -0 deletions)

View changed files

pkg/workflowpattern/trace_writer.go (+18 -0)
pkg/workflowpattern/workflow_pattern.go (+196 -0)
pkg/workflowpattern/workflow_pattern_test.go (+414 -0)

📄 Description

This package can be used to add support for https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet

Next steps are to call this package to detect if we should skip the workflow.

Related to


🔄 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/1618 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 2/7/2023 **Status:** ✅ Merged **Merged:** 2/23/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `feat-workflow-pattern-package` --- ### 📝 Commits (3) - [`5f6875c`](https://github.com/nektos/act/commit/5f6875cbd5f4d5e13520e11554e5872a7f9b137f) feat: workflowpattern package - [`154ad7b`](https://github.com/nektos/act/commit/154ad7b6c3ef8b24ddfd0f5f039af55c189624c9) nolint:gocyclo - [`1f84d1b`](https://github.com/nektos/act/commit/1f84d1b7782302d0f2a205ab279c7e56d73f2f84) Merge branch 'master' into feat-workflow-pattern-package ### 📊 Changes **3 files changed** (+628 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pkg/workflowpattern/trace_writer.go` (+18 -0) ➕ `pkg/workflowpattern/workflow_pattern.go` (+196 -0) ➕ `pkg/workflowpattern/workflow_pattern_test.go` (+414 -0) </details> ### 📄 Description This package can be used to add support for https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet Next steps are to call this package to detect if we should skip the workflow. Related to - https://github.com/nektos/act/issues/454 - https://github.com/nektos/act/issues/1586 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:44 +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#2033
No description provided.