Repository navigation
fix(ci): make gradlew executable (unblocks the red dependency check) - #25
Merged
Merged
Conversation
The Automatic Dependency Submission workflow runs ./gradlew help in the repo root and failed with "./gradlew: Permission denied" because the file is stored with mode 100644. Our own workflows never hit it: quality.yml and build_apk.yml invoke Gradle through gradle/actions/setup-gradle, which does not rely on the file bit. chmod +x gradlew on the index fixes the red check without touching any workflow file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The red Automatic Dependency Submission (Gradle) check was never a policy or settings problem. The job log says:
gradlewis committed with mode100644, so it is not executable. GitHub's managed workflow runs./gradlew helpdirectly and dies on that line. Our own workflows never hit it because they go throughgradle/actions/setup-gradle, which does not depend on the file bit.Fix:
git update-index --chmod=+x gradlew(mode becomes 100755). No workflow file is touched.