PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m8s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 7s
PR Check / Dependency audit (pull_request) Failing after 8s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
48 lines
1.9 KiB
YAML
48 lines
1.9 KiB
YAML
name: Renovate
|
|
|
|
# Renovate is not hosted for Gitea, so this repository runs it itself.
|
|
# The bot opens dependency PRs through the API; the PR pipeline checks them
|
|
# (a branch protection rule should require those checks before automerge).
|
|
#
|
|
# Manual setup: create a bot account with its full name and email set, give
|
|
# it write access to this repository, and store a token with
|
|
# repository read/write, issue read/write, user read and organization read
|
|
# as the RENOVATE_TOKEN Actions secret. Release notes also need a github.com
|
|
# token (any account, read-only, no scopes for public repositories) as the
|
|
# RENOVATE_GITHUB_COM_TOKEN secret.
|
|
on:
|
|
schedule:
|
|
# Daily at 04:00 UTC. Gitea only schedules workflows that exist on the
|
|
# default branch.
|
|
- cron: "0 4 * * *"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: renovate
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
renovate:
|
|
name: Run Renovate
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
# Pinned and multi-arch (the runner is arm64). The image installs the
|
|
# Node-based toolchain it needs on demand.
|
|
container: renovate/renovate:44.227.4
|
|
steps:
|
|
- name: Run Renovate
|
|
env:
|
|
RENOVATE_PLATFORM: gitea
|
|
# API root, not the web root. Renovate reads renovate.json from the
|
|
# default branch through this endpoint.
|
|
RENOVATE_ENDPOINT: https://git.noelsabia.dev/api/v1
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
# github.com is only used to fetch release notes and other public
|
|
# metadata. Anonymous requests are rate-limited, which is why the
|
|
# PR body warned that release notes were skipped.
|
|
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
|
# This workflow lives in the repository it updates, so scope the bot
|
|
# to it instead of every repository its account can see.
|
|
RENOVATE_REPOSITORIES: CV_Website/CV_Site_Nuxt
|
|
run: renovate
|