Skip to content

Commit

Permalink
chore(ci): debug
Browse files Browse the repository at this point in the history
  • Loading branch information
krisantrobus committed Oct 14, 2024
1 parent 759d6a8 commit c146b33
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/on_pull_request_open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [opened, synchronize]

jobs:
pr-triage:
pr-context-labeller:
runs-on: ubuntu-latest
steps:
- name: Assign Author
Expand All @@ -22,6 +22,16 @@ jobs:
- name: Debug in group
run: echo "${{ github.actor }} is team member ${{ steps.teamAffiliation.outputs.isTeamMember }}"

- name: Check user for team affiliation
uses: tspascoal/get-user-teams-membership@v2
id: teamAffiliationList
with:
GITHUB_TOKEN: ${{ secrets.PAT_GH_READ_ORG }}
username: ${{ github.actor }}

- name: Debug groups
run: echo "${{ steps.teamAffiliationList.outputs.teams }}"

- name: Auto contribution labeller
if: ${{ steps.teamAffiliation.outputs.isTeamMember == 'false' }}
uses: actions/labeler@v4
Expand Down

0 comments on commit c146b33

Please sign in to comment.