Export GH_REF to ensure it's passed to SSH session #1208
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: format | |
on: | |
push: | |
pull_request: | |
workflow_call: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Run black to check formatting | |
uses: psf/black@stable | |
- name: Run isort to check import order | |
uses: isort/isort-action@v1 |