mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-03 20:51:07 -05:00
Some checks are pending
/ release (push) Waiting to run
testing-integration / test-unit (push) Waiting to run
testing-integration / test-sqlite (push) Waiting to run
testing-integration / test-mariadb (v10.6) (push) Waiting to run
testing-integration / test-mariadb (v11.8) (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://data.forgejo.org/actions/cache](https://github.com/actions/cache) | action | patch | `v5.0.2` → `v5.0.3` | --- ### Release Notes <details> <summary>actions/cache (https://data.forgejo.org/actions/cache)</summary> ### [`v5.0.3`](https://github.com/actions/cache/releases/tag/v5.0.3) [Compare Source](https://github.com/actions/cache/compare/v5.0.2...v5.0.3) ##### What's Changed - Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) - Bump `@actions/core` to v2.0.3 **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.3> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45My4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTMuMSIsInRhcmdldEJyYW5jaCI6ImZvcmdlam8iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS11cGdyYWRlIiwidGVzdC9ub3QtbmVlZGVkIl19--> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11103 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
79 lines
2.8 KiB
YAML
79 lines
2.8 KiB
YAML
#
|
|
# Runs every 2 hours, but Renovate is limited to create new PR before 4am.
|
|
# See renovate.json for more settings.
|
|
# Automerge is enabled for Renovate PR's but need to be approved before.
|
|
#
|
|
name: renovate
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- renovate/** # self-test updates
|
|
paths:
|
|
- .forgejo/workflows/renovate.yml
|
|
schedule:
|
|
- cron: '0 0/2 * * *'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}
|
|
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
|
# fix because 10.0.0-58-7e1df53+gitea-1.22.0 < 10.0.0 for semver
|
|
# and codeberg api returns such versions from `git describe --tags`
|
|
# RENOVATE_X_PLATFORM_VERSION: 10.0.0+gitea-1.22.0 currently not needed
|
|
|
|
jobs:
|
|
renovate:
|
|
if: vars.ROLE == 'forgejo-coding' && secrets.RENOVATE_TOKEN != ''
|
|
|
|
runs-on: docker
|
|
container:
|
|
image: data.forgejo.org/renovate/renovate:42.93.1
|
|
|
|
steps:
|
|
- name: Load renovate repo cache
|
|
uses: https://data.forgejo.org/actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
|
with:
|
|
path: |
|
|
.tmp/cache/renovate/repository
|
|
.tmp/cache/renovate/renovate-cache-sqlite
|
|
.tmp/osv
|
|
key: repo-cache-${{ github.run_id }}
|
|
restore-keys: |
|
|
repo-cache-
|
|
|
|
- name: Run renovate
|
|
run: renovate
|
|
env:
|
|
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
|
LOG_LEVEL: debug
|
|
RENOVATE_BASE_DIR: ${{ github.workspace }}/.tmp
|
|
RENOVATE_ENDPOINT: ${{ github.server_url }}
|
|
RENOVATE_PLATFORM: forgejo
|
|
RENOVATE_REPOSITORY_CACHE: 'enabled'
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <forgejo-renovate-action@forgejo.org>'
|
|
RENOVATE_CONFIG_FILE_NAMES: '[".forgejo/renovate.json"]'
|
|
|
|
RENOVATE_X_SQLITE_PACKAGE_CACHE: true
|
|
|
|
GIT_AUTHOR_NAME: 'Renovate Bot'
|
|
GIT_AUTHOR_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
|
GIT_COMMITTER_NAME: 'Renovate Bot'
|
|
GIT_COMMITTER_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
|
|
|
OSV_OFFLINE_ROOT_DIR: ${{ github.workspace }}/.tmp/osv
|
|
|
|
# use direct connection for these domains for renovate go datasource instead of the go proxy
|
|
# allows faster lookups
|
|
GONOPROXY: code.forgejo.org
|
|
|
|
- name: Save renovate repo cache
|
|
if: always() && env.RENOVATE_DRY_RUN != 'full'
|
|
uses: https://data.forgejo.org/actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
|
with:
|
|
path: |
|
|
.tmp/cache/renovate/repository
|
|
.tmp/cache/renovate/renovate-cache-sqlite
|
|
.tmp/osv
|
|
key: repo-cache-${{ github.run_id }}
|