diff options
| -rw-r--r-- | .github/workflows/deploy.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index af0160d..f95957a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy to production on: push: branches: - - master + - main jobs: push_docker_image: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7747782..7f21e65 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,9 @@ name: Lint Python code on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: lint: @@ -17,15 +17,15 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout branch uses: actions/checkout@v2 - + - name: Setup Python uses: actions/setup-python@v2 - + - name: Install Poetry and project dependencies uses: knowsuchagency/poetry-install@v2 - + - name: Setup flake8 annotations uses: rbialon/flake8-annotations@v1 - + - name: Lint code with Flake8 run: poetry run flake8 . --count --show-source --statistics |