diff --git a/.github/workflows/contributor.yml b/.github/workflows/contributor.yml index 7fd474d..94d2918 100644 --- a/.github/workflows/contributor.yml +++ b/.github/workflows/contributor.yml @@ -3,6 +3,9 @@ name: Fetch-Contributor-List on: workflow_dispatch: +permissions: + contents: write + # Fetch contributor list and add to community.json jobs: fetch-contributor-list: @@ -17,6 +20,8 @@ jobs: - name: Commit Contributor List + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]"