Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
19a7291
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
7d5adac
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
b18104d
Strands Mock Model (#1551)
TimPansino Oct 23, 2025
c19207b
Strands Mock Model (#1551)
TimPansino Oct 23, 2025
7c3f5ac
Merge branch 'develop-strands' of github.com:newrelic/newrelic-python…
umaannamalai Nov 4, 2025
630f409
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
e3b9106
Add Strands tools and agents instrumentation. (#1563)
umaannamalai Nov 13, 2025
bea2100
Bump tests.
umaannamalai Oct 7, 2025
491dd98
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
b266594
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
1245264
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Nov 17, 2025
4193991
Fix instability in CI caused by health check tests (#1584)
TimPansino Nov 17, 2025
32215b9
Bump the github_actions group across 1 directory with 5 updates (#1582)
dependabot[bot] Nov 18, 2025
6a04fd4
Merge remote-tracking branch 'origin/main' into develop-strands
TimPansino Nov 18, 2025
f59f52c
Asyncio loop_factory fix (#1576)
lrafeei Nov 18, 2025
f181585
Fix issue in ASGI header consumption (#1578)
TimPansino Nov 18, 2025
060ddbd
Bedrock Converse Streaming Support (#1565)
TimPansino Nov 18, 2025
0058126
Merge remote-tracking branch 'origin/main' into merge-main-develop-st…
TimPansino Nov 18, 2025
a2e66bb
Merge main into develop-strands (#1585)
TimPansino Nov 18, 2025
fa7f3ca
Add new Redis methods (#1588)
lrafeei Nov 19, 2025
4f5ef0d
Bump the github_actions group with 3 updates (#1591)
dependabot[bot] Nov 24, 2025
cb33db9
LangChain: Fix message timestamps, add default role assignment, and …
sgoel-nr Dec 1, 2025
1606479
Bump the github_actions group with 4 updates (#1595)
dependabot[bot] Dec 2, 2025
748bd5b
Strands MultiAgent Instrumentation (#1590)
TimPansino Dec 5, 2025
dcadeb1
Strands Mock Model (#1551)
TimPansino Oct 23, 2025
e1a82c6
Add Strands tools and agents instrumentation. (#1563)
umaannamalai Nov 13, 2025
4d234e4
Strands MultiAgent Instrumentation (#1590)
TimPansino Dec 5, 2025
85a7509
Merge branch 'develop-strands' of github.com:newrelic/newrelic-python…
umaannamalai Dec 5, 2025
2ac1494
Fixed tool type bug for strands
sgoel-nr Dec 8, 2025
12b8ba1
Merge branch 'main' into sgoel/fixed_tool_type_bug
umaannamalai Dec 8, 2025
7bea863
Pin langchain & langchain_core (#1604)
lrafeei Dec 8, 2025
ea07f00
Merge branch 'main' into sgoel/fixed_tool_type_bug
mergify[bot] Dec 8, 2025
7853b9e
Merge branch 'main' into develop-strands
umaannamalai Dec 8, 2025
6860fc1
Add safeguarding to converse attr extraction. (#1603)
umaannamalai Dec 8, 2025
661efd8
Merge branch 'main' into sgoel/fixed_tool_type_bug
mergify[bot] Dec 8, 2025
6cedff1
Merge branch 'main' into develop-strands
umaannamalai Dec 8, 2025
c31c334
Merge pull request #1600 from newrelic/develop-strands
umaannamalai Dec 8, 2025
ac6eb5f
Merge branch 'main' into sgoel/fixed_tool_type_bug
umaannamalai Dec 8, 2025
ac9682c
Merge pull request #1601 from newrelic/sgoel/fixed_tool_type_bug
umaannamalai Dec 8, 2025
38d7547
Bump tests.
umaannamalai Oct 7, 2025
e6cb2bb
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
f4b9faa
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
1b08062
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
055f4f3
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
509a4d7
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
bf80674
Reconcile changes from main and token counting branch.
umaannamalai Dec 11, 2025
80a4431
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Dec 11, 2025
4ea432a
[MegaLinter] Apply linters fixes
umaannamalai Dec 11, 2025
4897665
Remove outdated converse testing file.
umaannamalai Dec 11, 2025
7452d97
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Dec 11, 2025
d04c1c6
Pin scikit-learn
lrafeei Dec 12, 2025
2430a8e
Merge pull request #1606 from newrelic/pin-sklearn
hmstepanek Dec 12, 2025
563c431
Free Threaded Python Support (#1554)
TimPansino Dec 16, 2025
b7348dc
Bump the github_actions group across 1 directory with 6 updates (#1609)
dependabot[bot] Dec 16, 2025
1c13558
Merge branch 'main' into develop-v12.0.0
TimPansino Dec 16, 2025
f8b4068
Update list of trivy ignored cves (#1610)
TimPansino Dec 17, 2025
86834fa
Merge remote-tracking branch 'origin/main' into develop-v12.0.0
TimPansino Dec 17, 2025
9d32c36
Bump the github_actions group with 4 updates (#1614)
dependabot[bot] Dec 22, 2025
d0598f9
Bump oxsecurity/megalinter in the github_actions group (#1621)
dependabot[bot] Jan 5, 2026
854e966
Update tests and instrumentation for gpt-5.1. (#1620)
umaannamalai Jan 8, 2026
c1168fd
Add additional CVE to trivy ignore (#1624)
TimPansino Jan 9, 2026
a7ade08
Bump the github_actions group with 2 updates (#1626)
dependabot[bot] Jan 15, 2026
cb192c7
Merge remote-tracking branch 'origin/main' into develop-v12.0.0
TimPansino Jan 22, 2026
5f3cd80
Fix LangChain Tests (#1631)
TimPansino Jan 22, 2026
1be4da1
Merge remote-tracking branch 'origin/main' into develop-v12.0.0
TimPansino Jan 22, 2026
7b65caf
Remove Python 3.8 Support (#1611)
TimPansino Jan 22, 2026
b2c7cf2
Update output message timestamping. (#1627)
umaannamalai Jan 22, 2026
d5bb817
Guard Azure Functions Utilization (#1632)
TimPansino Jan 22, 2026
a8b6bd8
Improve Strands Tool Error Capturing (#1623)
TimPansino Jan 22, 2026
002fc85
Add support for BaseException instances as arguments to notice_error …
TimPansino Jan 22, 2026
36a2358
Update Vendored Packages (#1612)
TimPansino Jan 23, 2026
ef63449
LangGraph Instrumentation
TimPansino Jan 13, 2026
56f14cc
LangChain Agents Instrumentation
TimPansino Jan 13, 2026
4929f79
Update tox versions for LangChain / LangGraph
TimPansino Jan 13, 2026
b8b6cca
Move GeneratorProxy from Strands to common file
TimPansino Jan 13, 2026
71445b9
More verbose logging in validate_custom_events
TimPansino Jan 13, 2026
b9e22f7
Improve prompt logging for mock openai server
TimPansino Jan 13, 2026
4de3870
Tweak langchain test folder structure
TimPansino Jan 13, 2026
b6d1dda
Update Chain tests
TimPansino Jan 13, 2026
74fdac5
New Agent testing
TimPansino Jan 13, 2026
6486445
New Tool testing
TimPansino Jan 13, 2026
55e9af3
Expand Test Matrixing
TimPansino Jan 13, 2026
80bff13
Newly recorded responses for LangChain
TimPansino Jan 13, 2026
ac2c776
Patch incorrect super() call in GeneratorProxy
TimPansino Jan 13, 2026
0f672b2
Better entry point for agent exception testing
TimPansino Jan 13, 2026
bca09c0
Update AgentObjectProxy to include transform() methods
TimPansino Jan 14, 2026
447516f
Update event counts in RunnableSequence tests
TimPansino Jan 14, 2026
ca2d253
Reformatting to kwargs
TimPansino Jan 21, 2026
1116f51
Formatting
TimPansino Jan 21, 2026
ffa5332
Remove storage of agent name on transaction
TimPansino Jan 21, 2026
be2e1e1
Instrument RunnableSequence.stream and astream
TimPansino Jan 21, 2026
f8c0808
Add correct event counts
TimPansino Jan 21, 2026
384fe2d
Guard metadata additions
TimPansino Jan 21, 2026
1ef9735
Add alternate source for agent_name
TimPansino Jan 21, 2026
c5644df
Pin lower bound of langchain tests
TimPansino Jan 21, 2026
b86e8f1
Implement tee() and __copy__() for GeneratorProxy
TimPansino Jan 22, 2026
0d47eae
Slight tweaks
TimPansino Jan 22, 2026
5b67731
Fixups.
umaannamalai Jan 29, 2026
80f4a3c
Merge pull request #1630 from newrelic/feat-langgraph
umaannamalai Jan 29, 2026
6cfc602
Fix pyramid by pinning setuptools (#1647)
TimPansino Feb 11, 2026
c88814a
Bump the github_actions group across 1 directory with 7 updates (#1657)
dependabot[bot] Feb 11, 2026
d161d15
Merge remote-tracking branch 'origin/main' into merge-main-develop-v12
TimPansino Feb 13, 2026
e5a1cb6
Merge pull request #1659 from newrelic/merge-main-develop-v12
TimPansino Feb 14, 2026
0c58455
Revert "Merge main into develop-v12.0.0"
TimPansino Feb 14, 2026
0474217
Revert "Merge main into develop-v12.0.0" (#1660)
TimPansino Feb 14, 2026
93257cb
Fix redis uninstrumented commands
TimPansino Feb 17, 2026
dad7197
Merge pull request #1663 from newrelic/fix-redis
umaannamalai Feb 17, 2026
14789b2
Add entity guid to Agent Control health file (#1640)
umaannamalai Feb 17, 2026
fa1ccf8
Bump the github_actions group with 3 updates (#1662)
dependabot[bot] Feb 17, 2026
0d90dc8
Update CI Image (#1649)
TimPansino Feb 17, 2026
3f0d83b
Fix OracleDB Mismatched Signature (#1648)
TimPansino Feb 17, 2026
1efa4a5
Add subcomponent attributes to agentic AI framework instrumentations …
umaannamalai Feb 18, 2026
7cb9b89
Hybrid core tracing rebased (#1646)
hmstepanek Feb 20, 2026
cc3483d
CI Tweaks (#1667)
TimPansino Feb 20, 2026
983474f
Bump the github_actions group with 2 updates (#1669)
dependabot[bot] Feb 23, 2026
b3dc60a
Bump tests.
umaannamalai Oct 7, 2025
1a896f6
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
d9dd9b0
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Feb 25, 2026
0c89823
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
dc316de
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
c3c0ac9
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
edf2e28
Reconcile changes from main and token counting branch.
umaannamalai Dec 11, 2025
ca28971
Bump tests.
umaannamalai Oct 7, 2025
ff48cba
Add response token count logic to Gemini instrumentation. (#1486)
umaannamalai Oct 7, 2025
8e6ff98
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
242e5a4
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
f9a6dd5
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
fdfce43
Remove outdated converse testing file.
umaannamalai Dec 11, 2025
121b9a0
[MegaLinter] Apply linters fixes
umaannamalai Dec 11, 2025
15e4ddd
Update test events.
umaannamalai Feb 25, 2026
1de498d
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Feb 25, 2026
8455fb4
Bump tests.
umaannamalai Oct 7, 2025
fe8872c
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
6a581e1
Reconcile changes from main and token counting branch.
umaannamalai Dec 11, 2025
0c9dbbd
Bump tests.
umaannamalai Oct 7, 2025
35b29a1
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
8e486cc
Remove outdated converse testing file.
umaannamalai Dec 11, 2025
7cdf738
[MegaLinter] Apply linters fixes
umaannamalai Dec 11, 2025
2df4d4b
Reconcile branch.
umaannamalai Mar 3, 2026
5c43880
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Mar 3, 2026
38690ee
[MegaLinter] Apply linters fixes
umaannamalai Mar 3, 2026
3936253
Bump tests.
umaannamalai Oct 7, 2025
df50594
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
7c6a1b4
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
53f351d
Reconcile changes from main and token counting branch.
umaannamalai Dec 11, 2025
85d9832
Bump tests.
umaannamalai Oct 7, 2025
28c4ac5
Add response token count logic to OpenAI instrumentation. (#1498)
umaannamalai Oct 7, 2025
9f76c41
Add response token count logic to Bedrock instrumentation. (#1504)
umaannamalai Nov 13, 2025
b204c04
Remove outdated converse testing file.
umaannamalai Dec 11, 2025
6ee0f50
[MegaLinter] Apply linters fixes
umaannamalai Dec 11, 2025
fe045a9
[MegaLinter] Apply linters fixes
umaannamalai Mar 3, 2026
123589c
Merge branch 'feature-llm-token-counts' of github.com:newrelic/newrel…
umaannamalai Mar 4, 2026
9c89955
[MegaLinter] Apply linters fixes
umaannamalai Mar 4, 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
13 changes: 10 additions & 3 deletions .github/.trivyignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# =============================
# Accepted Risk Vulnerabilities
# =============================

# Accepting risk due to Python 3.8 support.
CVE-2025-50181 # Requires misconfiguration of urllib3, which agent does not do without intervention
CVE-2025-66418 # Malicious servers could cause high resource consumption
CVE-2025-66471 # Malicious servers could cause high resource consumption
CVE-2026-21441 # Improper Handling of Highly Compressed Data (Data Amplification)

# =======================
# Ignored Vulnerabilities
# =======================

# Accepting risk due to Python 3.8 support.
CVE-2025-50181

# Not relevant, only affects Pyodide
CVE-2025-50182
26 changes: 6 additions & 20 deletions .github/containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then export ARCH="x86_64"; else
rm -rf /tmp/addlicense && \
chmod +x /usr/local/bin/addlicense

# Build librdkafka from source
ARG LIBRDKAFKA_VERSION=2.1.1
RUN cd /tmp && \
wget https://github.com/confluentinc/librdkafka/archive/refs/tags/v${LIBRDKAFKA_VERSION}.zip -O ./librdkafka.zip && \
unzip ./librdkafka.zip && \
rm ./librdkafka.zip && \
cd ./librdkafka-${LIBRDKAFKA_VERSION} && \
./configure && \
make all install && \
cd /tmp && \
rm -rf ./librdkafka-${LIBRDKAFKA_VERSION}

# Setup ODBC config
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then export ARCH="x86_64"; else export ARCH="aarch64"; fi && \
sed -i "s|Driver=psqlodbca.so|Driver=/usr/lib/${ARCH}-linux-gnu/odbc/psqlodbca.so|g" /etc/odbcinst.ini && \
Expand All @@ -109,13 +97,11 @@ ENV PATH="${HOME}/.local/bin:${PATH}"
ENV UV_PYTHON_PREFERENCE="only-managed"
ENV UV_LINK_MODE="copy"

# Install PyPy versions and rename shims
RUN uv python install -f pp3.11 pp3.10
RUN mv "${HOME}/.local/bin/python3.11" "${HOME}/.local/bin/pypy3.11" && \
mv "${HOME}/.local/bin/python3.10" "${HOME}/.local/bin/pypy3.10"

# Install CPython versions
RUN uv python install -f cp3.14 cp3.14t cp3.13 cp3.12 cp3.11 cp3.10 cp3.9 cp3.8
# Install CPython and PyPy versions
RUN uv python install -f \
cp3.14 cp3.13 cp3.12 cp3.11 cp3.10 cp3.9 cp3.8 \
pp3.11 pp3.10 \
cp3.14t

# Set default Python version to CPython 3.13
RUN uv python install -f --default cp3.13
Expand All @@ -130,7 +116,7 @@ EOF
ENV UV_PYTHON_DOWNLOADS=never

# Install tools with uv in isolated environments
RUN uv tool install tox==4.23.2 --with tox-uv && \
RUN uv tool install tox --with tox-uv && \
uv tool install ruff && \
uv tool install pre-commit --with pre-commit-uv && \
uv tool install asv --with virtualenv
2 changes: 1 addition & 1 deletion .github/scripts/install_azure_functions_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ${PIP} install pip-tools build invoke

# Install proto build dependencies
$( cd ${BUILD_DIR}/workers/ && ${PIPCOMPILE} -o ${BUILD_DIR}/requirements.txt )
${PIP} install -r ${BUILD_DIR}/requirements.txt
${PIP} install 'setuptools<82' -r ${BUILD_DIR}/requirements.txt

# Build proto files into pb2 files (invoke handles fixing include paths for the protos)
cd ${BUILD_DIR}/workers/tests && ${INVOKE} -c test_setup build-protos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/addlicense.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2

- name: Fetch git tags
run: |
Expand Down
36 changes: 32 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,51 @@ concurrency:
cancel-in-progress: true

jobs:
# Benchmarks
# ===========================
# Aggregate Benchmark Results
# ===========================
benchmarks:
runs-on: ubuntu-24.04
if: always() # Always run, even on cancellation or failure
needs:
- benchmark

steps:
- name: Status
run: |
if [[ "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "Workflow cancelled."
exit 1
elif [[ "${{ contains(needs.*.result, 'failure') }}" == "true" ]]; then
echo "One or more jobs failed."
exit 1
else
echo "All jobs completed successfully."
exit 0
fi

# ==================================
# Benchmarks Run Directly On Runners
# ==================================
benchmark:
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

env:
ASV_FACTOR: "1.1"
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
fetch-depth: 0

- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # 6.0.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # 6.2.0
with:
python-version: "${{ matrix.python }}"

Expand All @@ -62,9 +89,10 @@ jobs:

- name: Run Benchmark
run: |
echo "Running continuous benchmarking between base commit ${BASE_SHA} and head commit ${HEAD_SHA}"
asv continuous \
--show-stderr \
--split \
--factor "${ASV_FACTOR}" \
--python=${{ matrix.python }} \
"${BASE_SHA}" "${GITHUB_SHA}"
"${BASE_SHA}" "${HEAD_SHA}"
20 changes: 10 additions & 10 deletions .github/workflows/build-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
name: Docker Build ${{ matrix.platform }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # 3.11.1
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # 3.12.0

# Lowercase image name and append -ci
- name: Generate Image Name
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Generate Docker Metadata (Tags and Labels)
id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # 5.8.0
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # 5.10.0
with:
images: ghcr.io/${{ steps.image-name.outputs.IMAGE_NAME }}
flavor: |
Expand All @@ -75,15 +75,15 @@ jobs:

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # 3.6.0
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # 3.7.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Image by Digest
id: build
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # 6.18.0
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # 6.19.2
with:
context: .github/containers
platforms: ${{ matrix.platform }}
Expand All @@ -97,7 +97,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- name: Upload Digest
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # 5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
with:
name: digests-${{ matrix.cache_tag }}
path: ${{ runner.temp }}/digests/*
Expand All @@ -114,22 +114,22 @@ jobs:

steps:
- name: Download Digests
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # 7.0.0
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # 3.6.0
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # 3.7.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # 3.11.1
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # 3.12.0

# Lowercase image name and append -ci
- name: Generate Image Name
Expand All @@ -139,7 +139,7 @@ jobs:

- name: Generate Docker Metadata (Tags and Labels)
id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # 5.8.0
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # 5.10.0
with:
images: ghcr.io/${{ steps.image-name.outputs.IMAGE_NAME }}
flavor: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
persist-credentials: false
fetch-depth: 0

- name: Setup QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # 3.6.0
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # 3.7.0
with:
platforms: arm64

Expand All @@ -97,7 +97,7 @@ jobs:
CIBW_TEST_SKIP: "*-win_arm64"

- name: Upload Artifacts
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # 5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
with:
name: ${{ github.job }}-${{ matrix.wheel }}
path: ./wheelhouse/*.whl
Expand All @@ -109,12 +109,12 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
persist-credentials: false
fetch-depth: 0

- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # 6.0.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # 6.2.0
with:
python-version: "3.13"

Expand All @@ -134,7 +134,7 @@ jobs:
openssl md5 -binary "dist/${tarball}" | xxd -p | tr -d '\n' > "dist/${md5_file}"

- name: Upload Artifacts
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # 5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
with:
name: ${{ github.job }}-sdist
path: |
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
environment: ${{ matrix.pypi-instance }}

steps:
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # 7.0.0
with:
path: ./dist/
merge-multiple: true
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
repository-url: https://test.pypi.org/legacy/

- name: Attest
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # 3.0.0
uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # 3.2.0
id: attest
with:
subject-path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0 # Required for pushing commits to PRs

# MegaLinter
- name: MegaLinter
id: ml
uses: oxsecurity/megalinter/flavors/python@62c799d895af9bcbca5eacfebca29d527f125a57 # 9.1.0
uses: oxsecurity/megalinter/flavors/python@42bb470545e359597e7f12156947c436e4e3fb9a # 9.3.0
env:
# All available variables are described in documentation
# https://megalinter.io/latest/configuration/
Expand All @@ -68,7 +68,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # 5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
with:
name: MegaLinter reports
include-hidden-files: "true"
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
run: sudo chown -Rc $UID .git/

- name: Commit and push applied linter fixes
uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # 7.0.0
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # 7.1.0
if: env.APPLY_FIXES_IF_COMMIT == 'true'
with:
branch: >-
Expand Down
Loading