Skip to content

Commit 4b1b202

Browse files
committed
GHA: add explicit permissions
1 parent c3fd9ef commit 4b1b202

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/upstream-dev-ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
upstream-dev:
2222
name: upstream-dev
2323
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
issues: write
2427
if: |
2528
always()
2629
&& (
@@ -83,8 +86,8 @@ jobs:
8386
if: |
8487
failure()
8588
&& steps.status.outcome == 'failure'
86-
&& github.event_name == 'schedule'
87-
&& github.repository_owner == 'mpytools'
89+
# && github.event_name == 'schedule'
90+
# && github.repository_owner == 'mpytools'
8891
uses: xarray-contrib/issue-from-pytest-log@v1
8992
with:
9093
log-path: output-${{ matrix.python-version }}-log.jsonl

0 commit comments

Comments
 (0)