From 04d7c3d3d91aef1fd1bfda088994a7edecbfbf53 Mon Sep 17 00:00:00 2001 From: Marcel Rosier Date: Tue, 19 Dec 2023 16:00:39 +0100 Subject: [PATCH] - add auth via github app --- .github/workflows/autoformat.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/autoformat.yaml b/.github/workflows/autoformat.yaml index 915f6ef..3af6b1b 100644 --- a/.github/workflows/autoformat.yaml +++ b/.github/workflows/autoformat.yaml @@ -30,5 +30,14 @@ jobs: src: "." jupyter: true + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 + with: + app_id: ${{ secrets.BOT_APP_ID }} + private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }} + - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 + env: + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}