Closed ajhodgson closed 1 year ago
Can you try to add a conditional to the .github/workflows/main.yml
file to only run the image publication steps if the user has permission to publish to ghcr? That's where the checks are failing.
Can you try to add a conditional to the
.github/workflows/main.yml
file to only run the image publication steps if the user has permission to publish to ghcr? That's where the checks are failing.
Would you prefer:
if: ${{ github.actor }} == "CamJN"
... or
if: ${{ github.event.pull_request.merged }} && ${{ github.ref }} == 'refs/heads/master'
??
I don't see any way of testing ghcr permissions explicitly.
Nor do I have any way of fully testing either solution.
Let's go with the latter, one of my colleagues might want to run the script at some point.