From 1d3d81491b9116dc00d609ba9e900c1f91064eca Mon Sep 17 00:00:00 2001 From: Jan Nidzwetzki Date: Tue, 17 Jan 2023 09:07:43 +0100 Subject: [PATCH] Update issue workflow actions and used token This patch updates the used issue workflow actions and ensures that the 'secrets.ORG_AUTOMATION_TOKEN' is used by all actions. --- .github/workflows/procedural.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/procedural.yaml b/.github/workflows/procedural.yaml index 19f8e0f83..a159934bb 100644 --- a/.github/workflows/procedural.yaml +++ b/.github/workflows/procedural.yaml @@ -11,7 +11,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.1.0 + - uses: actions/add-to-project@v0.4.0 with: project-url: https://github.com/orgs/timescale/projects/55 github-token: ${{ secrets.ORG_AUTOMATION_TOKEN }} @@ -37,7 +37,7 @@ jobs: if: github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'need-more-info') steps: - name: Check if organization member - uses: tspascoal/get-user-teams-membership@v1 + uses: tspascoal/get-user-teams-membership@v2 id: checkUserMember with: username: ${{ github.actor }} @@ -49,7 +49,7 @@ jobs: uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260 with: remove-labels: 'need-more-info, no-activity' - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.ORG_AUTOMATION_TOKEN }} - name: Move to waiting for engineering column if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }} uses: leonsteinhaeuser/project-beta-automations@v2.0.0