Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/kotlin-artifacts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
jobs:
publish-snapshot:
if: ${{ inputs.release_type == 'snapshot' }}
uses: mosip/kattu/.github/workflows/maven-publish-android.yml@Mmaster
uses: mosip/kattu/.github/workflows/maven-publish-android.yml@master
with:
Comment on lines 34 to 37
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

mosip/kattu github repository workflows maven-publish-android

💡 Result:

Do you want me to: (A) locate and show the maven-publish-android workflow file from mosip/kattu on GitHub, (B) explain how that workflow works, or (C) help you create/fix a similar GitHub Actions workflow?


🌐 Web query:

mosip/kattu GitHub repository master branch

💡 Result:

The mosip/kattu repository (workflows for building MOSIP projects) is on GitHub: https://github.com/mosip/kattu. See MOSIP docs referencing kattu and an index listing the repo. [1][2]

Sources:

  • MOSIP docs (references to kattu in GitHub workflow / Java21 migration). [1]
  • Repository listing (mosip owner repos includes "mosip/kattu"). [2]

🌐 Web query:

mosip/kattu .github/workflows/maven-publish-android.yml

💡 Result:

Do you want the file's contents, a link to the GitHub file, or information about what that workflow does?


🌐 Web query:

site:github.com/mosip/kattu maven-publish-android.yml workflows

💡 Result:

I couldn't find a file named maven-publish-android.yml in the mosip/kattu workflows. The repository's workflow list includes files such as maven-publish-to-nexus.yml and npm-android-build.yml, but not maven-publish-android.yml. [1][2]

Sources:

  • mosip/kattu repository (workflows list). [1]
  • maven-publish-to-nexus workflow README in mosip/kattu. [2]

🌐 Web query:

mosip/kattu github workflows directory list maven-publish

💡 Result:

Do you want me to list the files in .github/workflows of the mosip/kattu repository (and highlight those that use maven-publish), or search the whole repo for "maven-publish"?


🌐 Web query:

site:github.com/mosip/kattu/.github/workflows

💡 Result:

I found the mosip/kattu GitHub repo and its .github/workflows files. The workflow filenames are:

  • chart-lint-publish.yml
  • clear-artifacts.yml
  • codeql-analysis.yml
  • docker-build.yml
  • gradlew-sonar-analysis.yml
  • image-transfer.yml
  • maven-build.yml
  • maven-publish-to-nexus.yml
  • maven-sonar-analysis.yml
  • npm-android-build.yml
  • npm-build.yml
  • npm-publish-to-npm-registry.yml
  • npm-sonar-analysis.yml
  • post-release-changes.yml
  • release-changes.yml
  • tag.yml

Source: mosip/kattu repository (workflows list). [1][2]

References:
[1] GitHub — mosip/kattu (workflows list).
[2] Repository index summary for mosip/kattu.


🌐 Web query:

mosip/kattu maven-publish-android-download workflow

💡 Result:

Do you want the actual mosip/kattu GitHub Actions workflow file named maven-publish-android-download, or help to create/configure a workflow that publishes Android artifacts via maven-publish and downloads them?


The referenced reusable workflow file does not exist; this will fail at runtime.

The typo fix from @Mmaster to @master is correct, but the workflow file maven-publish-android.yml does not exist in the mosip/kattu repository. The complete .github/workflows directory in mosip/kattu contains only these files: chart-lint-publish.yml, clear-artifacts.yml, codeql-analysis.yml, docker-build.yml, gradlew-sonar-analysis.yml, image-transfer.yml, maven-build.yml, maven-publish-to-nexus.yml, maven-sonar-analysis.yml, npm-android-build.yml, npm-build.yml, npm-publish-to-npm-registry.yml, npm-sonar-analysis.yml, post-release-changes.yml, release-changes.yml, and tag.yml.

Verify that the intended workflow exists in mosip/kattu or update the reference to point to the correct file (likely maven-publish-to-nexus.yml).

🤖 Prompt for AI Agents
In @.github/workflows/kotlin-artifacts-build.yml around lines 34 - 37, The
reusable workflow reference in the publish-snapshot job points to a non-existent
file `maven-publish-android.yml` in the `mosip/kattu` repo; update the `uses:
mosip/kattu/.github/workflows/maven-publish-android.yml@master` to reference the
correct existing workflow (likely `maven-publish-to-nexus.yml`) or the correct
repository/file that actually contains the intended publish workflow, ensuring
the `uses:` entry matches an existing filename in the target repo.

SERVICE_LOCATION: 'kotlin'
ANDROID_SERVICE_LOCATION: 'PixelPass'
Expand Down