Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ jobs:

- name: Run feature version audit
run: |
python tools/feature_version_audit.py --output feature-version-audit-latest.md 2>&1 | tee feature-version-audit-latest.md
python tools/feature_version_audit.py --output feature-version-audit-latest.md
cat feature-version-audit-latest.md
Comment thread
coderabbitai[bot] marked this conversation as resolved.

- name: Upload feature audit markdown
uses: actions/upload-artifact@v4
Expand All @@ -477,24 +478,31 @@ jobs:

- name: Run feature version audit (PR check)
id: audit
continue-on-error: true
run: |
python tools/feature_version_audit.py --pr-check --base ${{ github.event.pull_request.base.sha }} 2>&1 | tee pr-feature-audit.md
set +e
python tools/feature_version_audit.py --pr-check --ci --base ${{ github.event.pull_request.base.sha }} > pr-feature-audit.md
EXIT_CODE=$?
set -e
cat pr-feature-audit.md
exit $EXIT_CODE

- name: Upload feature audit markdown (PR)
if: always()
uses: actions/upload-artifact@v4
with:
name: pr-feature-audit
path: pr-feature-audit.md

feature-audit-pr-comment:
name: Comment on PR with audit results
if: github.event_name == 'pull_request_target'
if: always() && github.event_name == 'pull_request_target' && (needs.feature-audit-pr.result == 'success' || needs.feature-audit-pr.result == 'failure')
needs: feature-audit-pr
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Download feature audit markdown (PR)
continue-on-error: true
uses: actions/download-artifact@v4
with:
name: pr-feature-audit
Expand Down
Loading