From 14e8ca8af9451668a2e48987c572435b314bc111 Mon Sep 17 00:00:00 2001 From: Sidharth Shanker Date: Thu, 10 Oct 2024 17:20:12 +0000 Subject: [PATCH] Fix --- .github/workflows/pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4c6036f2c..5d9a16d7a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -76,8 +76,9 @@ jobs: - name: Enforce acknowledgment in PR description if: env.chains_docs_update_needed == 'true' + env: + DESCRIPTION: ${{ github.event.pull_request.body }} run: | - DESCRIPTION="${{ github.event.pull_request.body }}" if [[ "$DESCRIPTION" != *"UPDATE_DOCS=done"* && "$DESCRIPTION" != *"UPDATE_DOCS=not_needed"* ]]; then echo "::error file=truss-chains/examples/::Chains examples were modified and ack not found in PR description. Verify whether docs need to be update (https://github.com/basetenlabs/docs.baseten.co/tree/main/chains) and add an ack tag `UPDATE_DOCS={done|not_needed}` to the PR description." exit 1