Skip to content

Commit 8677645

Browse files
committed
temp: do we need this permission
1 parent 2b003ee commit 8677645

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/testsuite.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
changed:
3232
name: "Check changed files"
3333
runs-on: ubuntu-latest
34-
permissions:
35-
pull-requests: read
34+
#permissions:
35+
# pull-requests: read
3636
outputs:
3737
run_tests: ${{ steps.filter.outputs.run_tests }}
3838
steps:
@@ -63,7 +63,7 @@ jobs:
6363
# Don't run tests if the branch name includes "-notests".
6464
# Only run tests if files that affect tests have changed.
6565
needs: changed
66-
if: ${{ needs.changed.outputs.run_tests == 'true' && !contains(github.ref, '-notests') }}
66+
if: ${{ !contains(github.ref, '-notests') && needs.changed.outputs.run_tests == 'true' && !contains(github.ref, '-notests') }}
6767

6868
env:
6969
TOX_GH_MAJOR_MINOR: "${{ matrix.python-version }}"

0 commit comments

Comments
 (0)