From 527cb7681c877470484ec7c4a9a8064bb342a972 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Thu, 2 Apr 2026 12:45:35 +0200 Subject: [PATCH] [CI] Perform README.md in upstream repo only --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a53f1f4f..c4713592 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -301,7 +301,6 @@ jobs: echo "$ACCURACY" > accuracy_value.txt - name: Update README (main only) - if: github.ref == 'refs/heads/main' run: | ACCURACY=$(sed 's/%//g' accuracy_value.txt) DATE=$(date '+%Y-%m-%d') @@ -310,7 +309,7 @@ jobs: sed -i "s|.*|${ESCAPED_UPDATE_TEXT}|" README.md - name: Commit and push changes (main only) - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && github.repository == 'embedded-dev-research/itlab_2023' run: | git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" @@ -529,7 +528,7 @@ jobs: fi - name: Commit and push changes (main only) - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && github.repository == 'embedded-dev-research/ITLabAI' run: | git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com"