Do not mark edited file as dirty when selecting note #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Credit: https://github.com/zlib-ng/zlib-ng/blob/develop/.github/workflows/lint.yml | |
name: Lint | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Check trailing whitespace | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Whitespace errors | |
run: | | |
git config core.whitespace blank-at-eol | |
git diff --color --check ${{ github.event.pull_request.base.sha }} -- './src' ':!./src/lib' ':!./src/webSDK' |