Skip to content

[CI] Split variables to reduce needed rights. #10956

[CI] Split variables to reduce needed rights.

[CI] Split variables to reduce needed rights. #10956

Workflow file for this run

name: Autoformat code
on: pull_request
# This action only need a single permission in order to autoformat the code.
permissions:
contents: read
jobs:
autoformat-code:
name: Autoformat code
runs-on: ubuntu-latest
steps:
- name: 'Autoformat'
uses: rolfbjarne/[email protected]
with:
script: ./tools/autoformat.sh
git_user_email: '[email protected]'
git_user_name: 'GitHub Actions Autoformatter'