Skip to content

Update deployment from OSSRH#372

Merged
jodastephen merged 1 commit into
mainfrom
ossrh
Aug 15, 2025
Merged

Update deployment from OSSRH#372
jodastephen merged 1 commit into
mainfrom
ossrh

Conversation

@jodastephen

@jodastephen jodastephen commented Aug 15, 2025

Copy link
Copy Markdown
Member

OSSRH is dead, use replacement
Update build to use separate workflows

Summary by CodeRabbit

  • New Features

    • Added Java 21 support in builds and tests.
  • Dependencies

    • Upgraded AssertJ, JUnit 5, and Guava.
  • Chores

    • Modernized CI and release tooling; builds use improved caching and newer actions.
    • Moved release and website publishing to tag-driven GitHub Actions; removed legacy deployment script.
    • Streamlined publishing credentials and signing configuration.
  • Documentation

    • Updated README with the new release process and local release notes.

@jodastephen jodastephen requested a review from Copilot August 15, 2025 13:23
@coderabbitai

coderabbitai Bot commented Aug 15, 2025

Copy link
Copy Markdown

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Adds CI workflows for release and website publishing, updates build workflow and Maven settings, removes the legacy website deployment script, modernizes pom.xml for Central publishing and Java 21 in CI, and updates README release instructions.

Changes

Cohort / File(s) Summary of changes
Workflows: Build
.github/workflows/build.yml
Removed tag-based push triggers; added Java 21 to matrix; upgraded actions (checkout@v4, setup-java@v4) and CodeQL to v3; enabled Maven cache; wrote explicit maven.config pointing to .github/maven-settings.xml; removed website step.
Workflows: Release
.github/workflows/release.yml
New workflow triggered by tags release*: checks out with PERSONAL_GITHUB_TOKEN, sets Git user, uses Java 21 (Temurin) with Maven cache, writes .mvn/maven.config, runs mvn install and mvn release:clean release:prepare release:perform with GPG and Central credentials, tags/pushes websiterelease, and deletes the triggering tag.
Workflows: Website
.github/workflows/website.yml
New workflow triggered by tags website*: checks out with PERSONAL_GITHUB_TOKEN, sets Git user, uses Java 21 with Maven cache, builds site (mvn install site), checks out ThreeTen/threeten.github.io, replaces threeten-extra/ with built site, commits and pushes, and deletes triggering tag.
Maven Settings
.github/maven-settings.xml
Added server central-publish using env vars MAVEN_CENTRAL_USERNAME/MAVEN_CENTRAL_PASSWORD; updated github server to use privateKey sourced from GITHUB_TOKEN.
Script Removal
.github/website.sh
Removed legacy CI website deployment script that cloned threeten.github.io and pushed site contents using GITHUB_TOKEN and TRAVIS_BUILD_NUMBER.
Project Config (POM)
pom.xml
Switched to maven.compiler.release (8); removed distributionManagement and Nexus staging; added central-publishing plugin and new properties (joda.publish.auto, joda.publish.wait); added github-action profile; updated many plugin/dependency versions; adjusted release/profile activation to property-based flow.
Docs
README.md
Updated release process to tag-driven CI workflows and added local release prerequisites/instructions.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev
  participant GitHub as GitHub
  participant GA as GitHub Actions
  participant Maven as Maven (Release)
  participant GPG as GPG

  Dev->>GitHub: Push tag release*
  GitHub-->>GA: Trigger Release workflow
  GA->>GA: Checkout, set Git, setup Java 21, write .mvn/maven.config
  GA->>Maven: mvn clean install
  GA->>GPG: Use GPG secrets to sign artifacts
  GA->>Maven: mvn release:clean release:prepare release:perform (Central creds)
  GA->>GitHub: Tag websiterelease and push
  GA->>GitHub: Delete triggering release tag (local + remote)
Loading
sequenceDiagram
  autonumber
  participant GitHub as GitHub
  participant GA as GitHub Actions
  participant Site as threeten.github.io

  GitHub-->>GA: Trigger Website workflow on tag website*
  GA->>GA: Checkout, setup Java 21, write .mvn/maven.config
  GA->>GA: mvn install site
  GA->>Site: Checkout threeten.github.io into target/
  GA->>Site: Replace threeten-extra/ with built site, commit, push
  GA->>GitHub: Delete triggering website tag (local + remote)
Loading
sequenceDiagram
  autonumber
  participant GitHub as GitHub
  participant GA as GitHub Actions
  participant Build as Maven Build

  GitHub-->>GA: Trigger Build (push/pr/schedule)
  GA->>GA: Checkout@v4, setup-java@v4 (Java 8/11/21), cache maven
  GA->>Build: mvn verify using .github/maven-settings.xml
  GA->>GA: CodeQL init/analyze @v3
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~35 minutes

Poem

I thump a tag, I hop with glee,
Java twenty-one and Maven key.
I polish site and sign each crate,
Push websiterelease — celebrate! 🥕
CI burrows deep, then shouts "All right!"

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ossrh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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 migrates the project's deployment infrastructure from the deprecated OSSRH (OSS Repository Hosting) to Maven Central's new direct publishing system and reorganizes CI/CD workflows.

  • Replaces OSSRH deployment configuration with Maven Central's publishing plugin
  • Separates build, release, and website workflows into dedicated GitHub Actions files
  • Updates Maven plugins and dependencies to latest versions

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pom.xml Removes OSSRH distribution management, adds Central publishing plugin, updates dependencies and plugin versions
README.md Updates release process documentation to reflect new GitHub Actions workflow
.github/workflows/website.yml New dedicated workflow for website deployment triggered by website tags
.github/workflows/release.yml New dedicated workflow for releases triggered by release tags
.github/workflows/build.yml Removes release/website logic, focuses only on CI builds and testing
.github/website.sh Removes legacy shell script replaced by GitHub Actions workflow
.github/maven-settings.xml Updates server configuration for Central publishing and GitHub authentication

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Comment thread .github/workflows/website.yml Outdated

git add -A
git status
git commit --message "Update threeten-extra from CI: $GITHUB_ACTION"

Copilot AI Aug 15, 2025

Copy link

Choose a reason for hiding this comment

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

The variable $GITHUB_ACTION is incorrect and will likely be empty or undefined. Use $GITHUB_RUN_ID, $GITHUB_RUN_NUMBER, or $GITHUB_SHA instead for a meaningful commit message.

Suggested change
git commit --message "Update threeten-extra from CI: $GITHUB_ACTION"
git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"

Copilot uses AI. Check for mistakes.
Comment thread pom.xml
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
<maven-jxr-plugin.version>3.6.0</maven-jxr-plugin.version>
<maven-plugin-plugin.version>3.15.1</maven-plugin-plugin.version>
<maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throws NoSuchMethodException -->

Copilot AI Aug 15, 2025

Copy link

Choose a reason for hiding this comment

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

The comment about versions 3.25.0/3.26.0 throwing NoSuchMethodException should include more context about the specific issue or a reference to track when this can be resolved.

Suggested change
<maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throws NoSuchMethodException -->
<maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throw NoSuchMethodException due to https://github.com/apache/maven-pmd-plugin/issues/196 -->

Copilot uses AI. Check for mistakes.
Comment thread pom.xml
<maven-jxr-plugin.version>3.6.0</maven-jxr-plugin.version>
<maven-plugin-plugin.version>3.15.1</maven-plugin-plugin.version>
<maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throws NoSuchMethodException -->
<maven-project-info-reports-plugin.version>3.6.2</maven-project-info-reports-plugin.version><!-- 3.7.0/3.8.0 has error -->

Copilot AI Aug 15, 2025

Copy link

Choose a reason for hiding this comment

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

The comment about versions 3.7.0/3.8.0 having an error should specify what type of error occurs and include a reference for tracking when this can be resolved.

Suggested change
<maven-project-info-reports-plugin.version>3.6.2</maven-project-info-reports-plugin.version><!-- 3.7.0/3.8.0 has error -->
<maven-project-info-reports-plugin.version>3.6.2</maven-project-info-reports-plugin.version><!-- 3.7.0/3.8.0 fails with java.lang.NoSuchMethodError; see https://github.com/apache/maven-project-info-reports-plugin/issues/222 -->

Copilot uses AI. Check for mistakes.
Comment thread pom.xml
<!-- Other plugins -->
<github-api.version>1.321</github-api.version>
<github-release-plugin.version>1.4.0</github-release-plugin.version>
<maven-site-plugin.version>3.12.1</maven-site-plugin.version><!-- 3.20.0/3.21.0 throws ComponentLookupException -->

Copilot AI Aug 15, 2025

Copy link

Choose a reason for hiding this comment

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

The comment about versions 3.20.0/3.21.0 throwing ComponentLookupException should include more details about the specific issue and when it might be resolved.

Suggested change
<maven-site-plugin.version>3.12.1</maven-site-plugin.version><!-- 3.20.0/3.21.0 throws ComponentLookupException -->
<maven-site-plugin.version>3.12.1</maven-site-plugin.version><!-- 3.20.0/3.21.0 throw ComponentLookupException due to incompatibility with Maven core; see https://issues.apache.org/jira/browse/MSITE-963. Issue is tracked upstream and may be resolved in a future release. -->

Copilot uses AI. Check for mistakes.
OSSRH is dead, use replacement
Update build to use separate workflows
@jodastephen jodastephen merged commit 54834ca into main Aug 15, 2025
8 of 9 checks passed
@jodastephen jodastephen deleted the ossrh branch August 15, 2025 13:37

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 4

♻️ Duplicate comments (3)
.github/workflows/website.yml (1)

69-69: Good call using GITHUB_RUN_ID in the commit message

This addresses the earlier concern about using a more meaningful/run-specific identifier.

pom.xml (2)

955-956: Add references to known upstream issues in version comments

Adding links makes the rationale future-proof and self-documenting.

-    <maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throws NoSuchMethodException -->
+    <maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version><!-- 3.25.0/3.26.0 throw NoSuchMethodException due to https://github.com/apache/maven-pmd-plugin/issues/196 -->

-    <maven-project-info-reports-plugin.version>3.6.2</maven-project-info-reports-plugin.version><!-- 3.7.0/3.8.0 has error -->
+    <maven-project-info-reports-plugin.version>3.6.2</maven-project-info-reports-plugin.version><!-- 3.7.0/3.8.0 fails with java.lang.NoSuchMethodError; see https://github.com/apache/maven-project-info-reports-plugin/issues/222 -->

960-961: Clarify the site plugin comment with the upstream issue

-    <maven-site-plugin.version>3.12.1</maven-site-plugin.version><!-- 3.20.0/3.21.0 throws ComponentLookupException -->
+    <maven-site-plugin.version>3.12.1</maven-site-plugin.version><!-- 3.20.0/3.21.0 throw ComponentLookupException; see https://issues.apache.org/jira/browse/MSITE-963 -->
🧹 Nitpick comments (4)
.github/workflows/website.yml (1)

63-63: Remove trailing spaces flagged by YAML linters

There are trailing spaces on Lines 63, 66, and 70. While harmless to execution, they cause lint failures.

Also applies to: 66-66, 70-70

.github/workflows/build.yml (2)

24-24: Remove trailing whitespace

Trailing space on Line 24 is flagged by linting.


55-58: Optionally build the site once to reduce CI time

Running mvn install site for all JDKs duplicates effort. Consider running site only on one JDK (e.g., 11) and using install -DskipTests on others.

Example:

-    - name: Maven build
-      run: |
-        mvn install site
+    - name: Maven build (JDK 11)
+      if: matrix.java == '11'
+      run: |
+        mvn install site
+
+    - name: Maven build (other JDKs)
+      if: matrix.java != '11'
+      run: |
+        mvn -DskipTests install
pom.xml (1)

965-967: Pinned versions for central publishing and GitHub plugins

Versions look reasonable for stability. Consider periodic review to pick up fixes/features.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 22a74f5 and 9ceee3f.

📒 Files selected for processing (7)
  • .github/maven-settings.xml (1 hunks)
  • .github/website.sh (0 hunks)
  • .github/workflows/build.yml (2 hunks)
  • .github/workflows/release.yml (1 hunks)
  • .github/workflows/website.yml (1 hunks)
  • README.md (1 hunks)
  • pom.xml (4 hunks)
💤 Files with no reviewable changes (1)
  • .github/website.sh
🚧 Files skipped from review as they are similar to previous changes (3)
  • .github/maven-settings.xml
  • .github/workflows/release.yml
  • README.md
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.github/workflows/website.yml

[warning] 15-15: wrong indentation: expected 6 but found 4

(indentation)


[error] 63-63: trailing spaces

(trailing-spaces)


[error] 66-66: trailing spaces

(trailing-spaces)


[error] 70-70: trailing spaces

(trailing-spaces)

.github/workflows/build.yml

[error] 24-24: trailing spaces

(trailing-spaces)


[warning] 26-26: wrong indentation: expected 6 but found 4

(indentation)

🔇 Additional comments (5)
.github/workflows/website.yml (1)

73-77: Delete website tag step — OK (credentials look fine)

Short explanation: git remote -v shows the plain HTTPS URL (no embedded token). That's expected — actions/checkout normally authenticates via an HTTP extraheader (not by embedding the token in the remote URL). With persist-credentials defaulting to true, the git push --delete should succeed.

Points to check:

  • .github/workflows/website.yml — lines 73–77 (Delete website tag step)

If you want to be explicit:

  • Set persist-credentials: true on the initial actions/checkout.
  • Or verify the auth header is present: git config --get-all http.https://github.com/.extraheader (or git config --get-all http.extraheader).
pom.xml (4)

641-641: PMD targetJdk now tied to compiler.release – good alignment

Using ${maven.compiler.release} keeps PMD in sync with the effective bytecode level.


828-840: GitHub Actions profile for GPG signer set to BouncyCastle

Looks good. Ensure the maven-gpg-plugin picks this up in CI and that the required provider is available (the plugin handles BC internally when configured).

If needed, verify effective settings and that signing works in CI by checking for gpg.signer=bc in the build logs during a -Doss.repo run.


935-938: Publishing control properties look sensible for CI

joda.publish.auto=true with waitUntil=validated aligns with an automated but safe central publishing flow.


885-897: publishingServerId ('central-publish') matches settings — no action needed

Found central-publish in pom.xml (around lines 892–893) and a corresponding central-publish entry in .github/maven-settings.xml with username/password set to ${env.MAVEN_CENTRAL_USERNAME} / ${env.MAVEN_CENTRAL_PASSWORD}.

java: [8, 11, 21]

steps:
- name: Checkout

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Fix YAML indentation for step list items under steps:

Same as the website workflow: list items should be indented relative to steps:. Indentation misalignment can cause parsing errors.

-    steps:
-    - name: Checkout
+    steps:
+      - name: Checkout

Apply the two-space indent to all steps (Lines 26, 29, 36, 49, 55, 59 blocks).

Also applies to: 29-29, 36-36, 49-49, 55-55, 59-59

🧰 Tools
🪛 YAMLlint (1.37.1)

[warning] 26-26: wrong indentation: expected 6 but found 4

(indentation)

🤖 Prompt for AI Agents
In .github/workflows/build.yml around lines 26, 29, 36, 49, 55, and 59 the YAML
step entries under the steps: key are misaligned; fix by indenting each step
list item two spaces relative to the steps: key (ensure the leading hyphen and
the entire block for each step are shifted to be two spaces in from the steps:
line), and apply this two-space indentation consistently for the blocks starting
at the listed lines so the workflow parses correctly.

build:
runs-on: ubuntu-latest
steps:
- name: Checkout

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Fix YAML indentation for all step list items under steps:

List items must be indented relative to the steps: key. Currently they are aligned at the same indentation level, which can break workflow parsing. Indent each - name: (and any other list items beneath steps:) by two spaces.

Apply this pattern throughout the steps section (example shown for the first entry):

-    steps:
-    - name: Checkout
+    steps:
+      - name: Checkout

Repeat the extra two-space indent for every step starting at Lines 15, 27, 34, 47, 51, 59, and 73 blocks.

Also applies to: 25-25, 34-34, 47-47, 51-51, 59-59, 73-73

🧰 Tools
🪛 YAMLlint (1.37.1)

[warning] 15-15: wrong indentation: expected 6 but found 4

(indentation)

🤖 Prompt for AI Agents
In .github/workflows/website.yml around lines 15, 25, 34, 47, 51, 59, and 73,
several step list items under the steps: key are not indented properly (they are
aligned with the key); fix each by adding two spaces before every "- name:" and
any other "-" list item within the steps block so they are nested under steps:,
and apply the same two-space indentation correction for the blocks covering
lines 15-15, 25-25, 34-34, 47-47, 51-51, 59-59, and 73-73 to ensure valid YAML
parsing.

Comment on lines +63 to +66

rm -rf threeten-extra/
cp -R ../site threeten-extra/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue

Copying the site into threeten-extra/ creates an extra nested site folder

cp -R ../site threeten-extra/ results in threeten-extra/site/.... The website likely expects content at threeten-extra/index.html (not threeten-extra/site/index.html). Copy the contents of site/ instead.

-        rm -rf threeten-extra/
-        cp -R ../site threeten-extra/
+        rm -rf threeten-extra/
+        mkdir -p threeten-extra
+        cp -a ../site/. threeten-extra/
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
rm -rf threeten-extra/
cp -R ../site threeten-extra/
rm -rf threeten-extra/
mkdir -p threeten-extra
cp -a ../site/. threeten-extra/
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 63-63: trailing spaces

(trailing-spaces)


[error] 66-66: trailing spaces

(trailing-spaces)

🤖 Prompt for AI Agents
.github/workflows/website.yml around lines 63 to 66: the current command copies
the site directory itself so you end up with threeten-extra/site/... instead of
placing the site contents at threeten-extra/. Change the copy to copy the
contents of ../site into threeten-extra (for example use cp -R ../site/.
threeten-extra/ or cp -R ../site/* threeten-extra/) so index.html and other
files land directly in threeten-extra/.

Comment on lines +67 to +71
git add -A
git status
git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"

git push origin main

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Guard the commit/push to avoid failing when there are no changes

If there’s nothing to commit, git commit exits with a non-zero status and fails the job. Guard the commit and push.

-        git add -A
-        git status
-        git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"
-  
-        git push origin main
+        git add -A
+        git status
+        if ! git diff --cached --quiet; then
+          git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"
+          git push origin main
+        else
+          echo "No website changes to publish"
+        fi
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
git add -A
git status
git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"
git push origin main
git add -A
git status
if ! git diff --cached --quiet; then
git commit --message "Update threeten-extra from CI: $GITHUB_RUN_ID"
git push origin main
else
echo "No website changes to publish"
fi
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 70-70: trailing spaces

(trailing-spaces)

🤖 Prompt for AI Agents
In .github/workflows/website.yml around lines 67 to 71, the workflow runs git
commit and git push unconditionally which will fail the job when there are no
staged changes; modify the steps to stage files, then check for staged changes
(e.g., use git diff --cached --quiet or git status --porcelain) and only run git
commit and git push when changes exist, otherwise skip those commands (ensure
the check returns success so the job continues and do not run git push if no
commit was made).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants