Fix token permissions warnings (#4550)

* 🚨 fix token permissions warnings

* 🚨 fix token permissions warnings

* 🚨 fix token permissions warnings
This commit is contained in:
Niels Lohmann
2024-12-17 12:55:19 +01:00
committed by GitHub
parent f4910b20ce
commit 861ec9c3c6
11 changed files with 3 additions and 30 deletions
+3 -3
View File
@@ -10,9 +10,6 @@ on:
- docs/examples/**
workflow_dispatch:
permissions:
contents: write
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
concurrency:
group: documentation
@@ -20,6 +17,9 @@ concurrency:
jobs:
publish_documentation:
permissions:
contents: write
if: github.repository == 'nlohmann/json'
runs-on: ubuntu-22.04
steps: