Skip to content

[data grid] Add a warning if paginationMode=client but rowCount > rows.length #210

[data grid] Add a warning if paginationMode=client but rowCount > rows.length

[data grid] Add a warning if paginationMode=client but rowCount > rows.length #210

name: Add comment
on:
issues:
types:
- closed
permissions: {}
jobs:
add-comment:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: |
:warning: **This issue has been closed.** If you have a similar problem but not exactly the same, please open a [new issue](https://github.com/mui/mui-x/issues/new/choose).
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
APPENDIX: |
@${{ github.event.issue.user.login }}: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short [Support Satisfaction survey](https://tally.so/r/w4r5Mk?issue=${{ github.event.issue.number }}&productId=x).
if: github.event.issue.state_reason != 'inactivity'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions-cool/check-user-permission@a0668c9aec87f3875fc56170b6452a453e9dd819
id: checkUser
with:
require: 'write'
- name: Add comment for outside contributors
if: steps.checkUser.outputs.check-result == 'false'
run: gh issue comment "$NUMBER" --body "$BODY $APPENDIX"
- name: Add comment for maintainers
if: steps.checkUser.outputs.check-result == 'true'
run: gh issue comment "$NUMBER" --body "$BODY"