Update "Transient error" definition to include HTTP codes 408
and 429
#989
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: proselint | |
on: | |
# Trigger the workflow on push or pull requests, but only for the | |
# master branch | |
push: | |
branches: | |
- master | |
- '*/ci' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install prereqs | |
run: sudo apt-get install python3-proselint | |
# config file help: https://github.com/amperser/proselint/ | |
- name: store proselint config | |
run: | | |
echo '{' > $HOME/.proselintrc | |
echo ' "checks": {' >> $HOME/.proselintrc | |
echo ' "typography.diacritical_marks": false,' >> $HOME/.proselintrc | |
echo ' "typography.symbols": false,' >> $HOME/.proselintrc | |
echo ' "annotations.misc": false' >> $HOME/.proselintrc | |
echo ' }' >> $HOME/.proselintrc | |
echo '}' >> $HOME/.proselintrc | |
- name: check prose | |
run: make check |