Skip to content

Commit

Permalink
Use default permissions for GitHub workflows (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru authored Feb 24, 2025
1 parent 0d5c0aa commit b603a70
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,6 @@ jobs:
uses: ./.github/workflows/docker-wiki-update.yml
needs: [aarch64-images-tag-push-fast, x86_64-images-tag-push-fast]
if: contains(github.event.pull_request.title, '[FAST_BUILD]')
permissions:
contents: write

contributed-recipes:
uses: ./.github/workflows/contributed-recipes.yml
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- main
workflow_dispatch:

permissions:
contents: read

jobs:
run-hooks:
runs-on: ubuntu-24.04
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 10
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru' || github.event_name != 'schedule'
permissions:
contents: write

steps:
- name: Checkout Repo ⚡️
Expand Down

0 comments on commit b603a70

Please sign in to comment.