@@ -16,6 +16,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
+permissions:
+ contents: read
+
jobs:
docs:
# OS must be the same as on djangoproject.com.
@@ -14,6 +14,9 @@ concurrency:
flake8:
name: flake8
@@ -4,6 +4,10 @@ on:
pull_request_target:
types: [opened]
+ issues: write
+ pull-requests: read
build:
name: Hello new contributor
@@ -7,6 +7,9 @@ concurrency:
windows:
runs-on: windows-latest
@@ -5,6 +5,10 @@ on:
- cron: '42 2 * * *'
workflow_dispatch:
+ actions: write
trigger-runs:
runs-on: ubuntu-latest