Skip to content

fix(ci): make gradlew executable (unblocks the red dependency check) - #25

Merged
GothwadTech merged 1 commit into
mainfrom
fix/gradlew-executable
Dec 2, 2026
Merged

GothwadTech merged 1 commit into
mainfrom
fix/gradlew-executable

Conversation

@GothwadTech

Copy link
Copy Markdown
Collaborator

The red Automatic Dependency Submission (Gradle) check was never a policy or settings problem. The job log says:

/home/runner/work/_temp/...sh: line 12: ./gradlew: Permission denied
##[warning] Gradle validation failed in the repository root.
##[error]Process completed with exit code 1

gradlew is committed with mode 100644, so it is not executable. GitHub's managed workflow runs ./gradlew help directly and dies on that line. Our own workflows never hit it because they go through gradle/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.

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.
@GothwadTech
GothwadTech merged commit e3d1f30 into main Dec 2, 2026
1 check passed
@GothwadTech
GothwadTech deleted the fix/gradlew-executable branch December 2, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant