Open konstruktoid opened 11 months ago
When adding a "Harden Runner" to an action, it doesn't check if there is already an runner present. It seems it only adds an duplicate runner when https://github.com/slsa-framework/slsa-github-generator is used.
https://github.com/konstruktoid/ansible-role-hardening/commit/9c2da3afd3ef6267dc7f11a00c24ddba524495b9#diff-277991c5b829f3784ce03bf0c5fb0f43ee3f3d5325dfd3ef136f3cf3d83dfb6f
https://github.com/konstruktoid/ansible-role-hardening/blob/9b38aa459f6b1333ffc9c66ae857c8e1d7cd45fa/.github/workflows/slsa.yml#L18-L27
https://github.com/konstruktoid/ansible-role-hardening/actions/runs/7287514260
https://github.com/konstruktoid/ansible-role-docker-rootless/pull/257/files#diff-277991c5b829f3784ce03bf0c5fb0f43ee3f3d5325dfd3ef136f3cf3d83dfb6f
Thanks @konstruktoid for creating the issue! I will investigate and get back
https://github.com/konstruktoid/ansible-role-template/pull/189/files#diff-277991c5b829f3784ce03bf0c5fb0f43ee3f3d5325dfd3ef136f3cf3d83dfb6f
When adding a "Harden Runner" to an action, it doesn't check if there is already an runner present.It seems it only adds an duplicate runner when https://github.com/slsa-framework/slsa-github-generator is used.https://github.com/konstruktoid/ansible-role-hardening/commit/9c2da3afd3ef6267dc7f11a00c24ddba524495b9#diff-277991c5b829f3784ce03bf0c5fb0f43ee3f3d5325dfd3ef136f3cf3d83dfb6f
https://github.com/konstruktoid/ansible-role-hardening/blob/9b38aa459f6b1333ffc9c66ae857c8e1d7cd45fa/.github/workflows/slsa.yml#L18-L27
https://github.com/konstruktoid/ansible-role-hardening/actions/runs/7287514260
https://github.com/konstruktoid/ansible-role-docker-rootless/pull/257/files#diff-277991c5b829f3784ce03bf0c5fb0f43ee3f3d5325dfd3ef136f3cf3d83dfb6f