From 11f066c464e9c14b161250a1ffab07ca56be1c2a Mon Sep 17 00:00:00 2001 From: Magdalena Kuhn Date: Thu, 4 Apr 2024 19:30:48 +0200 Subject: [PATCH] enable git push from workflow --- .github/workflows/fetch_contributors.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fetch_contributors.yaml b/.github/workflows/fetch_contributors.yaml index 3121e5b..9d455b8 100644 --- a/.github/workflows/fetch_contributors.yaml +++ b/.github/workflows/fetch_contributors.yaml @@ -21,6 +21,8 @@ jobs: - name: Update README with contributors run: python src/fetch_contributors.py - name: Commit and push if changed + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global user.email "action@github.com" git config --global user.name "GitHub Action"