From 7744ed1409aa131c9e5be7b72a16afd751dd82fa Mon Sep 17 00:00:00 2001 From: Mohamed <134189886+garlobrian52@users.noreply.github.com> Date: Sun, 15 Feb 2026 23:43:46 -0500 Subject: [PATCH 1/2] Create template for custom agent configuration Added a template for creating a custom agent. --- .github/agents/my-agent.agent.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/agents/my-agent.agent.md diff --git a/.github/agents/my-agent.agent.md b/.github/agents/my-agent.agent.md new file mode 100644 index 000000000..39a842645 --- /dev/null +++ b/.github/agents/my-agent.agent.md @@ -0,0 +1,13 @@ +--- +# Fill in the fields below to create a basic custom agent for your repository. +# The Copilot CLI can be used for local testing: https://gh.io/customagents/cli +# To make this agent available, merge this file into the default repository branch. +# For format details, see: https://gh.io/customagents/config + +name: +description: +--- + +# My Agent + +Describe what your agent does here... From b8d3384e3a2d963d25c6e9820baf0970281d86a3 Mon Sep 17 00:00:00 2001 From: Mohamed <134189886+garlobrian52@users.noreply.github.com> Date: Sun, 15 Feb 2026 23:47:08 -0500 Subject: [PATCH 2/2] Create npm-publish-github-packages workflow Add GitHub Actions workflow for publishing Node.js packages. --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 000000000..ea2d329fa --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}