Skip to content

Commit

Permalink
Merge branch 'sshanker/fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
squidarth committed Oct 10, 2024
2 parents 5a4626e + 14e8ca8 commit cddca07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cddca07

Please sign in to comment.