feat: fixing up some doc issues, cutting release (#259) #560
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: Lint | |
on: | |
push: | |
permissions: read-all | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Black | |
uses: psf/black@stable | |
with: | |
options: --verbose | |
- name: Set up git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.name "sentential[bot]" | |
git config user.email "bot@sentential" | |
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
- name: Commit changes | |
run: | | |
git add . | |
if output=$(git status --porcelain) && [ ! -z "$output" ]; then | |
git commit -s -m 'code automatically formatted' | |
git push | |
fi |