Skip to content

Commit 36b242d

Browse files
committed
ci: debug why pr author_association fails
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 45f1ae5 commit 36b242d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/ansible-lint.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ jobs:
3131
if: contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.event.sender.login == 'systemroller'
3232
run: echo event is owner, member, collaborator or systemroller
3333
- name: fail
34-
run: exit 1
34+
run: echo "AUTHOR_ASSOCIATION=$AUTHOR_ASSOCIATION"; exit 1
3535
shell: bash
36+
env:
37+
AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }}
3638
ansible_lint:
3739
needs: debug
3840
name: ansible-lint

0 commit comments

Comments
 (0)