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