Skip to content
Merged
Changes from 3 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
17 changes: 17 additions & 0 deletions .github/actions/git-dirty-check/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ runs:
- run: git diff --no-ext-diff --exit-code
id: git-dirty-check
shell: bash
- run: |
FILES=$(git diff --name-only --no-ext-diff | sed 's/^/* /')
echo "files<<EOF" >> $GITHUB_OUTPUT
echo "$FILES" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Comment thread
coderabbitai[bot] marked this conversation as resolved.
id: dirty-files-list
shell: bash
if: failure() && steps.git-dirty-check.outcome == 'failure'
- uses: marocchino/sticky-pull-request-comment@v2
if: failure() && steps.git-dirty-check.outcome == 'failure'
with:
Expand All @@ -25,6 +33,15 @@ runs:
* Dependency mismatch for tools (protoc, etc). Ensure your local machine has same versions of tools as CI does
* Formatting drift, fix with `make format ${{ inputs.package-name }}` / `pnpm format ${{ inputs.package-name }}`

---

<details>
<summary>Dirty files</summary>

${{ steps.dirty-files-list.outputs.files }}

</details>

- uses: marocchino/sticky-pull-request-comment@v2
if: success() && steps.git-dirty-check.outcome == 'success'
with:
Expand Down
Loading