Skip to content

Commit b603a70

Browse files
authored
Use default permissions for GitHub workflows (#2240)
1 parent 0d5c0aa commit b603a70

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,6 @@ jobs:
523523
uses: ./.github/workflows/docker-wiki-update.yml
524524
needs: [aarch64-images-tag-push-fast, x86_64-images-tag-push-fast]
525525
if: contains(github.event.pull_request.title, '[FAST_BUILD]')
526-
permissions:
527-
contents: write
528526

529527
contributed-recipes:
530528
uses: ./.github/workflows/contributed-recipes.yml

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
- main
88
workflow_dispatch:
99

10-
permissions:
11-
contents: read
12-
1310
jobs:
1411
run-hooks:
1512
runs-on: ubuntu-24.04

.github/workflows/sphinx.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
runs-on: ubuntu-24.04
2828
timeout-minutes: 10
2929
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru' || github.event_name != 'schedule'
30-
permissions:
31-
contents: write
3230

3331
steps:
3432
- name: Checkout Repo ⚡️

0 commit comments

Comments
 (0)