From 19736dd717793a2bdbe651bef62591201df8f7aa Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Mon, 28 Sep 2026 16:24:35 -0600 Subject: [PATCH] fix: correct permissions on both workflows --- .github/workflows/update-contribs-reviews.yml | 3 ++- .github/workflows/update-editorial-board.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-contribs-reviews.yml b/.github/workflows/update-contribs-reviews.yml index 809768e0..dbc361bd 100644 --- a/.github/workflows/update-contribs-reviews.yml +++ b/.github/workflows/update-contribs-reviews.yml @@ -32,6 +32,7 @@ jobs: - name: Update editorial board env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Using a fine grained token here that only has team read access. GITHUB_TOKEN_TEAMS: ${{ secrets.PYOS_READ_TEAM_MEMBERS_SECRET }} run: | @@ -48,7 +49,7 @@ jobs: author: Leah base: main branch: contribs - commit-message: "Update: Contributor & review file update" + commit-message: "Update(contribs-reviews): Contributor & review file update" delete-branch: true title: Update contributor and review data labels: | diff --git a/.github/workflows/update-editorial-board.yml b/.github/workflows/update-editorial-board.yml index 7ab5eba9..3a74e9cd 100644 --- a/.github/workflows/update-editorial-board.yml +++ b/.github/workflows/update-editorial-board.yml @@ -22,7 +22,7 @@ jobs: python -m pip install --upgrade pip wheel - name: Install pyosmeta and update editorial board env: - # Ensure permissions if we have to add someone to contributors.yml file + # Ensure permissions if we have to add someone to contributors.yml file GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Using a fine grained token here that only has team read access. GITHUB_TOKEN_TEAMS: ${{ secrets.PYOS_READ_TEAM_MEMBERS_SECRET }} @@ -40,7 +40,7 @@ jobs: author: Leah base: main branch: editorial-board - commit-message: "Update: Editorial board file update" + commit-message: "Update(editorial): Editorial board file update" delete-branch: true title: Update editorial board data labels: |