mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
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.
This commit is contained in:
parent
5c897ff75d
commit
1d3d81491b
6
.github/workflows/procedural.yaml
vendored
6
.github/workflows/procedural.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user