From 325b9d84edb8de2c72cdee5c272910fd352eded8 Mon Sep 17 00:00:00 2001 From: shirtabachii Date: Sun, 26 Apr 2026 13:10:00 +0300 Subject: [PATCH] Add preserve-ai-authorship-caller workflow --- .../preserve-ai-authorship-caller.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/preserve-ai-authorship-caller.yaml diff --git a/.github/workflows/preserve-ai-authorship-caller.yaml b/.github/workflows/preserve-ai-authorship-caller.yaml new file mode 100644 index 000000000..19fd074ed --- /dev/null +++ b/.github/workflows/preserve-ai-authorship-caller.yaml @@ -0,0 +1,21 @@ +# Caller workflow for git-ai authorship preservation. +# This workflow calls the centralized preserve-ai-authorship workflow in +# codefresh-io/shared-github-workflows repo, which migrates git-ai authorship notes from +# original branch commits onto the new commits created by GitHub's +# squash/rebase merge - so AI attribution is preserved after merging PRs. + +name: Preserve AI Authorship + +on: + push: + branches: + - main + - master + +permissions: + contents: write + pull-requests: read + +jobs: + preserve-authorship: + uses: codefresh-io/shared-github-workflows/.github/workflows/preserve-ai-authorship.yaml@main