Skip to content

Dependencies

Dependencies #50

Workflow file for this run

name: Dependencies
on:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"
jobs:
renovate:
name: Renovate Sync
runs-on: ubuntu-latest
steps:
- name: Authenticate with GitHub App Bot
id: app-token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
with:
app-id: ${{ secrets.PROJECT_APP_ID }}
private-key: ${{ secrets.PROJECT_APP_KEY }}
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
- name: Install Task
uses: go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 #v2.0.0
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.26.1"
cache: true
cache-dependency-path: "**/*.sum"
- name: Setup Node
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: "24.x"
cache: "npm"
cache-dependency-path: "**/package*.json"
- name: Setup Python (uv)
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: "0.11.3"
working-directory: "sdk"
enable-cache: true
- name: Run Renovate
run: task deps:renovate:sync
env:
## Discovery
RENOVATE_AUTODISCOVER: "true"
RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}"
## Project sync
RENOVATE_PLATFORM: "github"
RENOVATE_PLATFORM_COMMIT: "enabled"
RENOVATE_TOKEN: ${{ steps.app-token.outputs.token }}
GITHUB_COM_TOKEN: ${{ steps.app-token.outputs.token }}
# Remove unused fields from PR description
RENOVATE_PR_BODY_TEMPLATE: "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}"
RENOVATE_DEPENDENCY_DASHBOARD_HEADER: ""
RENOVATE_DEPENDENCY_DASHBOARD_O_S_V_VULNERABILITY_SUMMARY: "all"