Skip to content
Merged
Show file tree
Hide file tree
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
26 changes: 26 additions & 0 deletions .github/workflows/PR-1524-test-java-publish-maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Temporary test workflow for PR #1524 — triggers site deployment on standalone repo.
# Will be merged into java-publish-maven.yml once validated.
name: "PR-1524: Test Site Deployment Trigger"

on:
workflow_dispatch:

jobs:
deploy-site:
name: Deploy Documentation Site (Test)
runs-on: ubuntu-latest
steps:
- name: Trigger site deployment on standalone repo
run: |
VERSION="1.0.0-beta-10-java.5"
TAG="java/v${VERSION}"
echo "Triggering site deployment for version ${VERSION} (tag: ${TAG})"
gh workflow run deploy-site.yml \
--repo github/copilot-sdk-java \
-f version="${VERSION}" \
-f publish_as_latest=true \
-f monorepo_tag="${TAG}"
echo "### Site Deployment" >> $GITHUB_STEP_SUMMARY
echo "Triggered deploy-site.yml on github/copilot-sdk-java for version ${VERSION}" >> $GITHUB_STEP_SUMMARY
env:
GITHUB_TOKEN: ${{ secrets.JAVA_SITE_DEPLOY_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment thread
edburns marked this conversation as resolved.
Dismissed
1 change: 1 addition & 0 deletions .github/workflows/java-publish-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,4 @@ jobs:
run: gh workflow run release-changelog.lock.yml -f tag="java/v${{ needs.publish-maven.outputs.version }}"
env:
GITHUB_TOKEN: ${{ secrets.JAVA_RELEASE_GITHUB_TOKEN }}

2 changes: 0 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,6 @@
</plugins>
</build>



<profiles>
<!-- Enable dynamic agent loading on JDK 21+ so Mockito/ByteBuddy
can attach at runtime (JEP 451). The flag does not exist on
Expand Down
Loading