From ba509f92756e8683c9a89d1a9da57103553ace26 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Wed, 16 Jul 2025 07:51:13 +0000 Subject: [PATCH 1/6] update readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c739fb3..2e18989 100644 --- a/README.md +++ b/README.md @@ -84,23 +84,24 @@ steps: This action now supports **read-only** integration with the GitHub-hosted Model Context Protocol (MCP) server, which provides access to GitHub tools like -repository management, issue tracking, and pull request operations. +repository management, issue tracking, and pull request operations ```yaml steps: - name: AI Inference with GitHub Tools id: inference - uses: actions/ai-inference@v1 + uses: actions/ai-inference@v1.2 with: prompt: 'List my open pull requests and create a summary' enable-github-mcp: true + token: ${{ secrets.USER_PAT }} ``` When MCP is enabled, the AI model will have access to GitHub tools and can perform actions like searching issues and PRs. -**Note:** MCP integration requires your workflow token to have appropriate -GitHub permissions for the operations the AI will perform. +**Note:** For now, MCP integration cannot be used with the built-in token. You +must pass a GitHub PAT into `token:` instead. ## Inputs From b002da2928bb79ffee216a2fe208c19200eb0b76 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 09:41:47 +1000 Subject: [PATCH 2/6] Add GitHub Actions workflow for releasing new version --- .../workflows/release-new-action-version.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release-new-action-version.yml diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml new file mode 100644 index 0000000..22c0859 --- /dev/null +++ b/.github/workflows/release-new-action-version.yml @@ -0,0 +1,27 @@ +name: Release new action version + +on: + release: + types: [released] + workflow_dispatch: + inputs: + TAG_NAME: + description: 'Tag name that the major tag will point to' + required: true + +env: + TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} +permissions: + contents: write + +jobs: + update_tag: + name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes + environment: + name: releaseNewActionVersion + runs-on: ubuntu-latest + steps: + - name: Update the ${{ env.TAG_NAME }} tag + uses: actions/publish-action@v0.2.2 + with: + source-tag: ${{ env.TAG_NAME }} From 9445295106804b501230588b1af9dd0bbc527af0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 02:52:40 +0000 Subject: [PATCH 3/6] Bump super-linter/super-linter from 7.4.0 to 8.0.0 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 7.4.0 to 8.0.0. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](https://github.com/super-linter/super-linter/compare/12150456a73e248bdc94d0794898f94e23127c88...5119dcd8011e92182ce8219d9e9efc82f16fddb6) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 9145c5b..67d02a4 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -38,7 +38,7 @@ jobs: - name: Lint Codebase id: super-linter - uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 + uses: super-linter/super-linter/slim@5119dcd8011e92182ce8219d9e9efc82f16fddb6 env: DEFAULT_BRANCH: main FILTER_REGEX_EXCLUDE: dist/**/* From 6f7bd88d1deb5f6a7e7e9d74dc7559912a3d3f9b Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 03:49:57 +0000 Subject: [PATCH 4/6] lint --- .github/workflows/release-new-action-version.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index 22c0859..340824e 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -16,7 +16,9 @@ permissions: jobs: update_tag: - name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes + name: + Update the major tag to include the ${{ github.event.inputs.TAG_NAME || + github.event.release.tag_name }} changes environment: name: releaseNewActionVersion runs-on: ubuntu-latest From 29b5f08d0f07c53aafdd6a2812747fe0b1c34980 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 13:50:38 +1000 Subject: [PATCH 5/6] Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e18989..57b3533 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ steps: This action now supports **read-only** integration with the GitHub-hosted Model Context Protocol (MCP) server, which provides access to GitHub tools like -repository management, issue tracking, and pull request operations +repository management, issue tracking, and pull request operations. ```yaml steps: From fcc85501151b01d8c966ab9939efb17bef6dce19 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 04:01:22 +0000 Subject: [PATCH 6/6] lint --- .github/workflows/release-new-action-version.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index 340824e..13d68db 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -3,24 +3,17 @@ name: Release new action version on: release: types: [released] - workflow_dispatch: - inputs: - TAG_NAME: - description: 'Tag name that the major tag will point to' - required: true env: - TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} + TAG_NAME: ${{ github.event.release.tag_name }} permissions: contents: write jobs: update_tag: name: - Update the major tag to include the ${{ github.event.inputs.TAG_NAME || - github.event.release.tag_name }} changes - environment: - name: releaseNewActionVersion + Update the major tag to include the ${{ github.event.release.tag_name }} + changes runs-on: ubuntu-latest steps: - name: Update the ${{ env.TAG_NAME }} tag