Skip to content

Commit 55a6e41

Browse files
committed
Merge main into patch-1 and resolve conflicts
- Added Outlook Mail + Calendar + OneDrive entry in correct alphabetical order - Preserved Pacman entry from main in correct alphabetical position
2 parents cc3f741 + a04bb00 commit 55a6e41

37 files changed

+9037
-1950
lines changed

.github/workflows/claude.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude:
15+
if: |
16+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: read
23+
pull-requests: read
24+
issues: read
25+
id-token: write
26+
actions: read
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 1
32+
33+
- name: Run Claude Code
34+
id: claude
35+
uses: anthropics/claude-code-action@beta
36+
with:
37+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
38+
39+
# Allow Claude to read CI results on PRs
40+
additional_permissions: |
41+
actions: read
42+
43+
# Trigger when assigned to an issue
44+
assignee_trigger: "claude"
45+
46+
# Allow Claude to run bash
47+
# This should be safe given the repo is already public
48+
allowed_tools: "Bash"
49+
50+
custom_instructions: |
51+
If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block.

.github/workflows/python.yml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,45 @@ jobs:
2323
PACKAGES=$(find . -name pyproject.toml -exec dirname {} \; | sed 's/^\.\///' | jq -R -s -c 'split("\n")[:-1]')
2424
echo "packages=$PACKAGES" >> $GITHUB_OUTPUT
2525
26-
build:
26+
test:
2727
needs: [detect-packages]
28+
strategy:
29+
matrix:
30+
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}
31+
name: Test ${{ matrix.package }}
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Install uv
37+
uses: astral-sh/setup-uv@v3
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version-file: "src/${{ matrix.package }}/.python-version"
43+
44+
- name: Install dependencies
45+
working-directory: src/${{ matrix.package }}
46+
run: uv sync --frozen --all-extras --dev
47+
48+
- name: Check if tests exist
49+
id: check-tests
50+
working-directory: src/${{ matrix.package }}
51+
run: |
52+
if [ -d "tests" ] || [ -d "test" ] || grep -q "pytest" pyproject.toml; then
53+
echo "has-tests=true" >> $GITHUB_OUTPUT
54+
else
55+
echo "has-tests=false" >> $GITHUB_OUTPUT
56+
fi
57+
58+
- name: Run tests
59+
if: steps.check-tests.outputs.has-tests == 'true'
60+
working-directory: src/${{ matrix.package }}
61+
run: uv run pytest
62+
63+
build:
64+
needs: [detect-packages, test]
2865
strategy:
2966
matrix:
3067
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
105105
publish-pypi:
106106
needs: [update-packages, create-metadata]
107+
if: ${{ needs.create-metadata.outputs.pypi_packages != '[]' && needs.create-metadata.outputs.pypi_packages != '' }}
107108
strategy:
108109
fail-fast: false
109110
matrix:
@@ -145,6 +146,7 @@ jobs:
145146

146147
publish-npm:
147148
needs: [update-packages, create-metadata]
149+
if: ${{ needs.create-metadata.outputs.npm_packages != '[]' && needs.create-metadata.outputs.npm_packages != '' }}
148150
strategy:
149151
fail-fast: false
150152
matrix:
@@ -212,10 +214,3 @@ jobs:
212214
--title "Release $VERSION" \
213215
--notes-file RELEASE_NOTES.md
214216
215-
- name: Docker MCP images
216-
uses: peter-evans/repository-dispatch@v3
217-
with:
218-
token: ${{ secrets.DOCKER_TOKEN }}
219-
repository: docker/labs-ai-tools-for-devs
220-
event-type: build-mcp-images
221-
client-payload: '{"ref": "${{ needs.create-metadata.outputs.version }}"}'

.github/workflows/typescript.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,43 @@ jobs:
2222
PACKAGES=$(find . -name package.json -not -path "*/node_modules/*" -exec dirname {} \; | sed 's/^\.\///' | jq -R -s -c 'split("\n")[:-1]')
2323
echo "packages=$PACKAGES" >> $GITHUB_OUTPUT
2424
25-
build:
25+
test:
2626
needs: [detect-packages]
27+
strategy:
28+
matrix:
29+
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}
30+
name: Test ${{ matrix.package }}
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- uses: actions/setup-node@v4
36+
with:
37+
node-version: 22
38+
cache: npm
39+
40+
- name: Install dependencies
41+
working-directory: src/${{ matrix.package }}
42+
run: npm ci
43+
44+
- name: Check if tests exist
45+
id: check-tests
46+
working-directory: src/${{ matrix.package }}
47+
run: |
48+
if npm run test --silent 2>/dev/null; then
49+
echo "has-tests=true" >> $GITHUB_OUTPUT
50+
else
51+
echo "has-tests=false" >> $GITHUB_OUTPUT
52+
fi
53+
continue-on-error: true
54+
55+
- name: Run tests
56+
if: steps.check-tests.outputs.has-tests == 'true'
57+
working-directory: src/${{ matrix.package }}
58+
run: npm test
59+
60+
build:
61+
needs: [detect-packages, test]
2762
strategy:
2863
matrix:
2964
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)