Merge branch 'main' into sgoedecke/prompt-file
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint Codebase
|
- name: Lint Codebase
|
||||||
id: super-linter
|
id: super-linter
|
||||||
uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88
|
uses: super-linter/super-linter/slim@5119dcd8011e92182ce8219d9e9efc82f16fddb6
|
||||||
env:
|
env:
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
FILTER_REGEX_EXCLUDE: dist/**/*
|
FILTER_REGEX_EXCLUDE: dist/**/*
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
name: Release new action version
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [released]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_tag:
|
||||||
|
name:
|
||||||
|
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
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
source-tag: ${{ env.TAG_NAME }}
|
||||||
@@ -163,17 +163,18 @@ repository management, issue tracking, and pull request operations.
|
|||||||
steps:
|
steps:
|
||||||
- name: AI Inference with GitHub Tools
|
- name: AI Inference with GitHub Tools
|
||||||
id: inference
|
id: inference
|
||||||
uses: actions/ai-inference@v1
|
uses: actions/ai-inference@v1.2
|
||||||
with:
|
with:
|
||||||
prompt: 'List my open pull requests and create a summary'
|
prompt: 'List my open pull requests and create a summary'
|
||||||
enable-github-mcp: true
|
enable-github-mcp: true
|
||||||
|
token: ${{ secrets.USER_PAT }}
|
||||||
```
|
```
|
||||||
|
|
||||||
When MCP is enabled, the AI model will have access to GitHub tools and can
|
When MCP is enabled, the AI model will have access to GitHub tools and can
|
||||||
perform actions like searching issues and PRs.
|
perform actions like searching issues and PRs.
|
||||||
|
|
||||||
**Note:** MCP integration requires your workflow token to have appropriate
|
**Note:** For now, MCP integration cannot be used with the built-in token. You
|
||||||
GitHub permissions for the operations the AI will perform.
|
must pass a GitHub PAT into `token:` instead.
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user