Skip to content

Commit

Permalink
Testing git workflow for testing-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kirdatatjana committed Aug 30, 2024
1 parent ce18476 commit 9c16b64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/testing-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ 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..."
echo "Branch name is: ${GITHUB_REF#refs/heads/}"
if [ -n "$GITHUB_HEAD_REF" ]; then
branch=$GITHUB_HEAD_REF
else
branch=${GITHUB_REF#refs/heads/}
echo "Branch name is: ${branch}"
exit 1
fi

0 comments on commit 9c16b64

Please sign in to comment.