Update current role, add blog post and Eternal Linux project #8
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
name: Precommit | |
on: push | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files | |
- name: Fail if pre-commit changed files | |
run: | | |
if [[ -n "$(git status --porcelain)" ]]; then | |
echo "pre-commit changed files, please run pre-commit locally and commit the changes" | |
exit 1 | |
fi |