From a9ca1473cd54d7490a76a73814f7412683aeeb58 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Fri, 5 Jan 2024 13:25:46 +0100 Subject: [PATCH] ci: run Autoformat actions in PRs and automerge php-cs-fixer --- .github/workflows/autoformat.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index 45c763de4..c3a614dff 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -53,6 +53,11 @@ jobs: php-cs-fixer: runs-on: ubuntu-latest + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. + contents: write + steps: - uses: actions/checkout@v4 with: