We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d9dbc commit 6506db7Copy full SHA for 6506db7
.github/workflows/release.yml
@@ -18,17 +18,14 @@ jobs:
18
19
steps:
20
# Check permissions
21
- - name: Checking out for permissions
+ - uses: tspascoal/get-user-teams-membership@v2
22
id: permissions
23
- uses: kapost/kap-gh-team@v1
24
with:
25
- access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
26
- organization: exadel-inc
27
- team: esl-core-maintainers
28
- user: ${{ github.actor }}
+ username: ${{ github.actor }}
+ team: 'ESL Core Maintainers'
+ GITHUB_TOKEN: ${{ secrets.PERMISSION_CHECK_TOKEN }}
29
30
- - name: Deny access if not a member of team
31
- if: ${{ steps.permissions.outputs.success == 'false' }}
+ - if: ${{ steps.permissions.outputs.isTeamMember == 'false' }}
32
run: exit 1
33
34
# Start workflow
0 commit comments