Add GitHub Copilot Setup Steps workflow and devcontainer#26
Merged
Conversation
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Copilot Java 25 workflow setup for agents
Add GitHub Copilot Java 25 workflow and devcontainer
Feb 17, 2026
teggr
reviewed
Feb 17, 2026
Owner
There was a problem hiding this comment.
This must be called .github/workflows/copilot-setup-steps.yml
Adapt the contents using this template
name: "Copilot Setup Steps"
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# This job name MUST be exactly "copilot-setup-steps"
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
cache: 'maven'
- name: Verify Java version
run: java -version
- name: Download dependencies
run: mvn dependency:go-offline -B
Contributor
Author
There was a problem hiding this comment.
Done! Renamed to .github/workflows/copilot-setup-steps.yml with job name exactly "copilot-setup-steps" following the template structure. Adapted the Maven example to use JBang since this project uses JBang for builds. (commit 14dc69b)
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Copilot
AI
changed the title
Add GitHub Copilot Java 25 workflow and devcontainer
Add GitHub Copilot Setup Steps workflow and devcontainer
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Copilot Setup Steps workflow to ensure agents have access to Java 25 environment matching the
//JAVA 25+requirement inbuild.java.Changes
.github/workflows/copilot-setup-steps.yml- Copilot Setup Steps workflow that:.devcontainer/devcontainer.json- DevContainer config for Codespaces/VS Code with:Documentation - Updated README and copilot-instructions.md with setup paths
.github/workflows/build-site.yml- Pinned jbangdev/setup-jbang to v0.1.1 for consistencyEnvironment Setup
Contributors can now use either:
The Copilot Setup Steps workflow ensures proper environment configuration for GitHub Copilot agents.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.