Skip to content

Refactor build to use public GitHub Pages SDK repo (drop auth) - #3

Merged
suhail-sullad merged 1 commit into
masterfrom
refactor/public-sdk-repo-no-auth
Jul 15, 2026
Merged

Refactor build to use public GitHub Pages SDK repo (drop auth)#3
suhail-sullad merged 1 commit into
masterfrom
refactor/public-sdk-repo-no-auth

Conversation

@suhail-sullad

Copy link
Copy Markdown
Contributor

The TLM Plugin SDK now lives at https://digicert.github.io/tlm-plugins-sdk-dist, a public GitHub Pages Maven repository that needs no authentication.

  • settings.xml: point at the new URL and remove the block that supplied GITHUB_ACTOR/GITHUB_TOKEN credentials
  • build.sh: drop the token-permission checks and GITHUB_ACTOR/GITHUB_USER fallback; keep the Maven build and checksum generation
  • build-java-sdk.yml: remove GITHUB_ACTOR/GITHUB_TOKEN from the build step (release steps keep the auto-provided GITHUB_TOKEN for the release API)
  • README docs: replace the PAT/read:packages auth instructions with a no-auth note and the new repository URL

Applied consistently across the cert-delivery, automation, and discovery examples.

The TLM Plugin SDK now lives at https://digicert.github.io/tlm-plugins-sdk-dist,
a public GitHub Pages Maven repository that needs no authentication.

- settings.xml: point at the new URL and remove the <servers> block that
  supplied GITHUB_ACTOR/GITHUB_TOKEN credentials
- build.sh: drop the token-permission checks and GITHUB_ACTOR/GITHUB_USER
  fallback; keep the Maven build and checksum generation
- build-java-sdk.yml: remove GITHUB_ACTOR/GITHUB_TOKEN from the build step
  (release steps keep the auto-provided GITHUB_TOKEN for the release API)
- README docs: replace the PAT/read:packages auth instructions with a
  no-auth note and the new repository URL

Applied consistently across the cert-delivery, automation, and discovery examples.
Copilot AI review requested due to automatic review settings July 15, 2026 07:13
@suhail-sullad
suhail-sullad merged commit 03ecaf9 into master Jul 15, 2026
3 checks passed
@suhail-sullad
suhail-sullad deleted the refactor/public-sdk-repo-no-auth branch July 15, 2026 07:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the example plugin builds to consume the TLM Plugin SDK from the new public GitHub Pages Maven repository (https://digicert.github.io/tlm-plugins-sdk-dist), removing the need for GitHub Packages authentication across the examples.

Changes:

  • Updated each example’s settings.xml to point at the new public Maven repo and removed the GitHub Packages <servers> credentials block.
  • Simplified build.sh scripts by removing GitHub token/actor validation and permission checks.
  • Updated docs/workflows to no longer require GITHUB_ACTOR/GITHUB_TOKEN for dependency downloads.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
README.md Updates top-level SDK retrieval docs to reflect the new public Maven repo (no auth).
discovery/settings.xml Points Maven at the GitHub Pages SDK repository; removes auth server config.
discovery/build.sh Removes GitHub token checks; keeps Maven build + checksum generation.
discovery/.github/workflows/build-java-sdk.yml Drops token env injection for the build step.
cert-delivery/settings.xml Points Maven at the GitHub Pages SDK repository; removes auth server config.
cert-delivery/README.md Updates setup/troubleshooting docs to remove PAT/GitHub Packages instructions.
cert-delivery/build.sh Removes GitHub token checks; keeps wrapper-based build + checksums.
cert-delivery/.github/workflows/build-java-sdk.yml Drops token env injection for the build step.
automation/settings.xml Points Maven at the GitHub Pages SDK repository; removes auth server config.
automation/build.sh Removes GitHub token checks; keeps Maven build + checksum generation.
automation/.github/workflows/build-java-sdk.yml Drops token env injection for the build step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 27 to +29
- name: Build with Maven
run: build.sh
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Comment on lines 27 to +29
- name: Build with Maven
run: build.sh
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Comment on lines 27 to +29
- name: Build with Maven
run: build.sh
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Comment thread automation/build.sh
@@ -86,4 +18,4 @@ echo "\`\`\`" >> $CHECKSUM_FILE
find . -name "*.zip" | xargs sha256sum | cut --complement -c66-68 >> $CHECKSUM_FILE
Comment thread discovery/build.sh
@@ -86,4 +18,4 @@ echo "\`\`\`" >> $CHECKSUM_FILE
find . -name "*.zip" | xargs sha256sum | cut --complement -c66-68 >> $CHECKSUM_FILE
Comment thread cert-delivery/build.sh
@@ -86,4 +18,4 @@ echo "\`\`\`" >> $CHECKSUM_FILE
find . -name "*.zip" | xargs sha256sum | cut --complement -c66-68 >> $CHECKSUM_FILE
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