From 5ff6466919699b802feedaff30e703a55379d5e0 Mon Sep 17 00:00:00 2001
From: Patrick Schratz <patrick.schratz@gmail.com>
Date: Sun, 10 Sep 2023 10:11:15 +0100
Subject: [PATCH] feat(manager/github-actions): Support for Gitea and Forgejo
 actions within `github-actions` manager (#24336)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
---
 lib/modules/manager/github-actions/index.ts  | 2 +-
 lib/modules/manager/github-actions/readme.md | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/modules/manager/github-actions/index.ts b/lib/modules/manager/github-actions/index.ts
index 8ed2e8898e..cc09f700c2 100644
--- a/lib/modules/manager/github-actions/index.ts
+++ b/lib/modules/manager/github-actions/index.ts
@@ -5,7 +5,7 @@ export { extractPackageFile } from './extract';
 
 export const defaultConfig = {
   fileMatch: [
-    '^(workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$',
+    '^(workflow-templates|\\.(?:github|gitea|forgejo)/workflows)/[^/]+\\.ya?ml$',
     '(^|/)action\\.ya?ml$',
   ],
 };
diff --git a/lib/modules/manager/github-actions/readme.md b/lib/modules/manager/github-actions/readme.md
index 891eaf827b..6b5b13219b 100644
--- a/lib/modules/manager/github-actions/readme.md
+++ b/lib/modules/manager/github-actions/readme.md
@@ -1,4 +1,5 @@
 The `github-actions` manager extracts dependencies from GitHub Actions workflow and workflow template files.
+It can also be used for Gitea and Forgejo Actions workflows as such are compatible with GitHub Actions workflows.
 
 If you like to use digest pinning but want to follow the action version tag, you can use the following sample:
 
-- 
GitLab