Skip to content

Commit a9b02b1

Browse files
chore(actions): fix failing workflow using outputs (#12179)
1 parent fa5d529 commit a9b02b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/add-new-issues-to-project.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Team Membership Checker
19+
id: teamcheck
1920
# You may pin to the exact commit or the version.
2021
# uses: TheModdingInquisition/actions-team-membership@a69636a92bc927f32c3910baac06bacc949c984c
2122
uses: TheModdingInquisition/actions-team-membership@v1.0
@@ -27,9 +28,10 @@ jobs:
2728
# The organization of the team to check for. Defaults to the context organization.
2829
organization: 'patternfly'
2930
# If the action should exit if the user is not part of the team.
30-
exit: true
31+
exit: false
3132

3233
- name: Add label if user is a team member
34+
if: steps.teamcheck.outputs.permitted == 'true'
3335
run: |
3436
curl -X POST \
3537
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \

0 commit comments

Comments
 (0)