Skip to content

Commit

Permalink
Explicitly set ownership of github workspace directory. This is becau…
Browse files Browse the repository at this point in the history
…se release builds were failing with error 'detected dubious ownership'
  • Loading branch information
ovlords committed Sep 11, 2024
1 parent dff3297 commit 7c8aede
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/publish-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
make clean deps lint package
chown -R root:root /github/workspace
make publish "forge_token=${PUPPETFORGE_TOKEN}"
1 change: 1 addition & 0 deletions .github/actions/release-major-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
chown -R root:root /github/workspace
make release-major
1 change: 1 addition & 0 deletions .github/actions/release-minor-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
chown -R root:root /github/workspace
make release-minor
1 change: 1 addition & 0 deletions .github/actions/release-patch-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
chown -R root:root /github/workspace
make release-patch

0 comments on commit 7c8aede

Please sign in to comment.