From ce1847625178a0c3e9a1e0fdbb96eeec3678d545 Mon Sep 17 00:00:00 2001 From: kirdatatjana Date: Fri, 30 Aug 2024 13:11:03 +0200 Subject: [PATCH] Testing git workflow for testing-docs --- .github/workflows/testing-docs.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/testing-docs.yml b/.github/workflows/testing-docs.yml index 86572010c4..2f94451836 100644 --- a/.github/workflows/testing-docs.yml +++ b/.github/workflows/testing-docs.yml @@ -46,12 +46,6 @@ jobs: cp scripts/test_doc/test_documentation.md generated_file.md if ! diff -q generated_file.md committed_file.md; then echo "Documentation for integration tests is out of date. Updating and pushing changes..." - cp generated_file.md scripts/test_doc/test_documentation.md - git config user.name "github-actions" - git config user.email "github-actions@github.com" - git add scripts/test_doc/test_documentation.md - git commit -m "Update testing documentation" - git push origin HEAD - echo "Documentation updated and pushed." + echo "Branch name is: ${GITHUB_REF#refs/heads/}" exit 1 fi \ No newline at end of file