Skip to content

ci: automate Maven Central publishing with GitHub Actions#89

Merged
kewynakshlley merged 5 commits intomainfrom
feat/pipeline-improvements
Apr 7, 2026
Merged

ci: automate Maven Central publishing with GitHub Actions#89
kewynakshlley merged 5 commits intomainfrom
feat/pipeline-improvements

Conversation

@kewynakshlley
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 4 files

Confidence score: 4/5

  • This PR is likely safe to merge, with minimal risk: the reported issue is moderate-low severity (4/10) and appears confined to CI workflow hygiene rather than runtime product behavior.
  • The main concern is in .github/workflows/release.yml: the Decode GPG key step is dead code and writes a secret to disk unnecessarily, which increases secret-handling exposure even though signing uses in-memory keys.
  • Pay close attention to .github/workflows/release.yml - remove or align the GPG decode step to avoid unnecessary secret material being written to disk.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/release.yml">

<violation number="1" location=".github/workflows/release.yml:23">
P2: The `Decode GPG key` step is dead code and unnecessarily writes the secret to disk even though signing uses `useInMemoryPgpKeys` from environment variables. Remove this step (or update Gradle to consume the file) to avoid needless secret exposure.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread .github/workflows/release.yml Outdated
kewynakshlley and others added 3 commits April 2, 2026 08:13
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Publish to Maven Central' step
Uses Step
uses 'gradle/actions/setup-gradle' with ref 'v3', not a pinned commit hash
@kewynakshlley kewynakshlley merged commit 97bc38a into main Apr 7, 2026
4 checks passed
@kewynakshlley kewynakshlley deleted the feat/pipeline-improvements branch April 7, 2026 18:04
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.

2 participants