diff --git a/.github/workflows/example_notifier.yml b/.github/workflows/example_notifier.yml index a94873f1f..6521b32a8 100644 --- a/.github/workflows/example_notifier.yml +++ b/.github/workflows/example_notifier.yml @@ -2,6 +2,8 @@ name: Warning maintainers on: pull_request_target: paths: examples/** +permissions: + pull-requests: write jobs: job: runs-on: ubuntu-latest @@ -11,4 +13,4 @@ jobs: uses: Poolitzer/notifier-action@master with: notify-message: Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :) - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pre-commit_dependencies_notifier.yml b/.github/workflows/pre-commit_dependencies_notifier.yml index 3ce4bcd16..b7c5dc89c 100644 --- a/.github/workflows/pre-commit_dependencies_notifier.yml +++ b/.github/workflows/pre-commit_dependencies_notifier.yml @@ -5,6 +5,8 @@ on: - requirements.txt - requirements-dev.txt - .pre-commit-config.yaml +permissions: + pull-requests: write jobs: job: runs-on: ubuntu-latest diff --git a/.github/workflows/readme_notifier.yml b/.github/workflows/readme_notifier.yml index d635b7d6b..4ec7d4587 100644 --- a/.github/workflows/readme_notifier.yml +++ b/.github/workflows/readme_notifier.yml @@ -4,6 +4,8 @@ on: paths: - README.rst - README_RAW.rst +permissions: + pull-requests: write jobs: job: runs-on: ubuntu-latest