Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
9bb5e38
Update README.md
Git-Hub-Chris Jan 24, 2026
4649bb2
Update README.md
Git-Hub-Chris Jan 24, 2026
27119b2
Merge pull request #1 from microsoft/main
Git-Hub-Chris Jan 26, 2026
17aca78
Merge branch 'main' into main
pontemonti Jan 27, 2026
b0f9339
Merge branch 'main' into main
Git-Hub-Chris Jan 27, 2026
f7ea187
Merge branch 'main' into main
pontemonti Jan 28, 2026
7dd9d09
Merge branch 'main' into main
pontemonti Jan 28, 2026
bae2f85
Merge branch 'main' into main
pontemonti Jan 28, 2026
62ff7f8
Merge pull request #2 from microsoft/main
Git-Hub-Chris Jan 28, 2026
13f8ac1
Merge pull request #3 from microsoft/main
Git-Hub-Chris Jan 29, 2026
a20304f
Update README.md
Git-Hub-Chris Jan 29, 2026
52f164b
Merge pull request #4 from microsoft/main
Git-Hub-Chris Jan 30, 2026
7e9240c
[StepSecurity] ci: Harden GitHub Actions
step-security-bot Jan 30, 2026
5528af8
Merge pull request #5 from step-security-bot/chore/GHA-300524-stepsec…
Git-Hub-Chris Jan 30, 2026
50c5814
Bump astral-sh/setup-uv from 6.8.0 to 7.2.1
dependabot[bot] Feb 1, 2026
4779f5a
Bump actions/upload-artifact from 4.6.2 to 6.0.0
dependabot[bot] Feb 1, 2026
856ff42
Bump actions/checkout from 4.3.1 to 6.0.2
dependabot[bot] Feb 1, 2026
47e135a
Bump ossf/scorecard-action from 2.4.0 to 2.4.3
dependabot[bot] Feb 1, 2026
f81fb62
Bump actions/setup-python from 5.6.0 to 6.2.0
dependabot[bot] Feb 1, 2026
be9d039
Merge pull request #6 from Git-Hub-Chris/dependabot/github_actions/as…
Git-Hub-Chris Feb 2, 2026
e0ef1ab
Merge pull request #7 from Git-Hub-Chris/dependabot/github_actions/ac…
Git-Hub-Chris Feb 2, 2026
4b70844
Merge pull request #8 from Git-Hub-Chris/dependabot/github_actions/ac…
Git-Hub-Chris Feb 2, 2026
562b086
Merge branch 'main' into dependabot/github_actions/ossf/scorecard-act…
Git-Hub-Chris Feb 2, 2026
561d2aa
Merge pull request #10 from Git-Hub-Chris/dependabot/github_actions/a…
Git-Hub-Chris Feb 2, 2026
74e025b
Merge branch 'main' into dependabot/github_actions/ossf/scorecard-act…
Git-Hub-Chris Feb 2, 2026
036aaf0
Bump protobuf from 5.29.5 to 6.33.5 in the uv group across 1 directory
dependabot[bot] Feb 3, 2026
1cc4371
Merge pull request #9 from Git-Hub-Chris/dependabot/github_actions/os…
Git-Hub-Chris Feb 3, 2026
240ae69
Merge branch 'main' into dependabot/uv/uv-915b9422ef
Git-Hub-Chris Feb 3, 2026
b027460
Bump astral-sh/setup-uv from 7.2.1 to 7.3.0
dependabot[bot] Feb 6, 2026
4ce64bd
Merge pull request #11 from Git-Hub-Chris/dependabot/uv/uv-915b9422ef
Git-Hub-Chris Feb 8, 2026
4dcbc0c
Merge branch 'main' into dependabot/github_actions/astral-sh/setup-uv…
Git-Hub-Chris Feb 8, 2026
70a3bad
Merge pull request #13 from Git-Hub-Chris/dependabot/github_actions/a…
Git-Hub-Chris Feb 8, 2026
75ad10a
Merge branch 'main' into main
Git-Hub-Chris Feb 8, 2026
ce19de5
Bump werkzeug from 3.1.1 to 3.1.5 in the uv group across 1 directory
dependabot[bot] Feb 8, 2026
fc076b1
Merge pull request #14 from Git-Hub-Chris/dependabot/uv/uv-a2d74a3e0a
Git-Hub-Chris Feb 8, 2026
aa989a8
Push Commit
Git-Hub-Chris Feb 8, 2026
4dd97e2
Merge branch 'main' of https://github.com/Git-Hub-Chris/Agent365-python
Git-Hub-Chris Feb 8, 2026
3ab4971
Push commit
Git-Hub-Chris Feb 8, 2026
771309d
Push commit
Git-Hub-Chris Feb 8, 2026
103499b
Push commit
Git-Hub-Chris Feb 8, 2026
decd42c
Push commit
Git-Hub-Chris Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
36 changes: 26 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ jobs:
version-number:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # Need full history for git versioning

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.11'

Expand All @@ -51,8 +56,13 @@ jobs:
outputs:
python-sdk: ${{ steps.check_python_sdk.outputs.changed }}
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

Expand Down Expand Up @@ -91,11 +101,16 @@ jobs:
python-version: ['3.11', '3.12']

steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
with:
version: '0.6.x'
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -129,15 +144,15 @@ jobs:

- name: Run integration tests
# Only run integration tests if secrets are available
if: ${{ vars.RUN_INTEGRATION_TESTS == 'true' }}
if: ${{ secrets.AZURE_OPENAI_API_KEY }}
run: |
uv run --frozen pytest -m integration -v --tb=short
env:
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_ENDPOINT: ${{ vars.AZURE_OPENAI_ENDPOINT }}
AZURE_OPENAI_DEPLOYMENT: ${{ vars.AZURE_OPENAI_DEPLOYMENT }}
AZURE_OPENAI_API_VERSION: ${{ vars.AZURE_OPENAI_API_VERSION }}
ENABLE_OBSERVABILITY: true
AZURE_OPENAI_API_VERSION: ${{ vars.AZURE_OPENAI_API_VERSION }}
ENABLE_OBSERVABILITY: 'true'

# Copy package and samples to drop folder
- name: Copy package and samples to drop folder
Expand All @@ -149,7 +164,7 @@ jobs:
run: cd ~/drop/python-${{ matrix.python-version }} && zip -r ~/drop/python-${{ matrix.python-version }}.zip .

- name: Upload package and samples as artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: python-${{ matrix.python-version }}
path: ~/drop/python-${{ matrix.python-version }}.zip
Expand All @@ -159,10 +174,11 @@ jobs:
# 1. It's a push event (not a PR)
# 2. The branch is a release/* branch
# 3. There are SDK changes
# Note: Requires PYPI_TOKEN secret to be configured in repository settings
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release/') && needs.changed-sdks.outputs.python-sdk == 'true'
run: |
uv run twine upload --config-file .pypirc -r Agent365 dist/*
continue-on-error: true
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.AZURE_DEVOPS_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
78 changes: 78 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
schedule:
- cron: "0 0 * * 1"

permissions:
contents: read

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["python"]
# CodeQL supports [ $supported-codeql-languages ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0
with:
category: "/language:${{matrix.language}}"
27 changes: 27 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request,
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
# Once installed, if the workflow run is marked as required,
# PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: 'Checkout Repository'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Dependency Review'
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
81 changes: 81 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: Scorecard supply-chain security
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '20 7 * * 2'
push:
branches: ["main"]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
contents: read
actions: read
# To allow GraphQL ListCommits to work
issues: read
pull-requests: read
# To detect SAST tools
checks: read

steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: audit

- name: "Checkout code"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecards on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
# repo_token: ${{ secrets.SCORECARD_TOKEN }}

# Public repositories:
# - Publish results to OpenSSF REST API for easy access by consumers
# - Allows the repository to include the Scorecard badge.
# - See https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories:
# - `publish_results` will always be set to `false`, regardless
# of the value entered here.
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0
with:
sarif_file: results.sarif
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pylint-dev/pylint
rev: v2.17.2
hooks:
- id: pylint
13 changes: 6 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.