Merge pull request #20 from clinical-genomics-uppsala/run_scripts #74
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: Snakefmt | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master and develop branch | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
snakefmt: | |
name: Snakefmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/[email protected] | |
env: | |
DEFAULT_BRANCH: main | |
VALIDATE_ALL_CODEBASE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_SNAKEMAKE_SNAKEFMT: true | |
OUTPUT_FOLDER: .github/linters/report |