Skip to content

Commit

Permalink
Enable linting to run on fork PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Ross authored and Philipp Ross committed Feb 21, 2024
1 parent 012d891 commit 56f4f7c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: Linting
on:
push:
branches: '**'
pull_request:
branches: ['main', 'dev']
pull_request_target:
branches:
- main
- dev

permissions:
checks: write
contents: write
contents: read

jobs:
lint:
Expand All @@ -21,10 +23,10 @@ jobs:
shell: bash -el {0}
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9.16'
token: ${{ secrets.QUARK_GH_GITHUB_COM_TOKEN }}
Expand Down

0 comments on commit 56f4f7c

Please sign in to comment.