Skip to content

Support tool calling for the Laguna chat templates #17682

Support tool calling for the Laguna chat templates

Support tool calling for the Laguna chat templates #17682

Workflow file for this run

on:
# scan the pushed commits, not the whole history: on `pull_request` and on a push to main the action
# derives a base commit, while a bare `push` has none on a new branch and walks every commit ever
# made. if a base is ever set explicitly, pass a sha: a ref name does not resolve in the scanner clone.
pull_request:
push:
branches:
- main
schedule:
- cron: '0 3 * * 1' # weekly full-history sweep, so history stays in scope
name: Secret Leaks
permissions: {}
jobs:
trufflehog:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
# the scan step mounts this directory, `.git/config` included, into a third-party container
persist-credentials: false
- name: Secret Scanning
uses: trufflesecurity/trufflehog@3bd2b5887eb0efb8fa18bfd1d296032924e4ffdc # v3.99.9
with:
# the action only wraps the scanner, which runs as a container selected by `version`
# its default, `:latest`, is mutable, so the SHA pins the wrapper and this digest the scanner
# Dependabot bumps only the SHA, so both are kept in sync by hand
# Upstream issue: https://github.com/trufflesecurity/trufflehog/issues/4857
# Remove once: the action defaults `version` to its own release, making this pin redundant
version: 3.99.9@sha256:2ec535840f860aa27f11fee20222fb790326ecd66325c96bd49d02ec6af46eca
# without --fail-on-scan-errors, a scan that errors out and covers nothing passes as a scan that found nothing.
extra_args: --results=verified,unknown --fail-on-scan-errors