chore(main): release 1.0.0 #166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: renovate-pr | |
on: | |
workflow_dispatch: | |
inputs: | |
dryRun: | |
type: boolean | |
description: "Dry-Run" | |
logLevel: | |
type: choice | |
description: "Log-Level" | |
default: debug | |
options: | |
- info | |
- debug | |
- trace | |
push: | |
branches: | |
- "*" | |
- "!main" | |
- "!renovate/*" | |
env: | |
# https://docs.renovatebot.com/troubleshooting/#log-debug-levels | |
LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}" | |
# https://docs.renovatebot.com/self-hosted-configuration/#repositories | |
RENOVATE_REPOSITORIES: ${{ github.repository }} | |
# https://docs.renovatebot.com/self-hosted-configuration/#username | |
RENOVATE_USERNAME: ${{ github.repository_owner }} | |
# https://docs.renovatebot.com/configuration-options/#platformcommit | |
RENOVATE_PLATFORM_COMMIT: "true" | |
# https://docs.renovatebot.com/self-hosted-configuration/#dryrun | |
# Run renovate in dry-run mode if executed in branches other than main - prevents versions in PRs/branches from being updated | |
RENOVATE_DRY_RUN: "${{ inputs.dryRun }}" | |
# Revovate Config File | |
RENOVATE_CONFIG_FILE: ".github/renovate-pr.json5" | |
# Ignore default renovate config file in git repository | |
RENOVATE_REQUIRE_CONFIG: "ignored" | |
# Set the base branch | |
RENOVATE_BASE_BRANCHES: ${{ github.ref_name }} | |
# Renovate Automerge | |
RENOVATE_AUTOMERGE_TYPE: "branch" | |
RENOVATE_AUTOMERGE: "true" | |
permissions: read-all | |
jobs: | |
renovate-pr: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
permissions: write-all | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | |
id: app-token | |
with: | |
app-id: ${{ secrets.MY_RENOVATE_GITHUB_APP_ID }} | |
private-key: ${{ secrets.MY_RENOVATE_GITHUB_PRIVATE_KEY }} | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.2 | |
with: | |
json: true | |
- name: List all changed files | |
run: | | |
echo "*** Changed files:" | |
echo "RENOVATE_INCLUDE_PATHS=${{ steps.changed-files.outputs.all_changed_files }}" | tee -a "${GITHUB_ENV}" | |
- name: 💡 Self-hosted Renovate | |
uses: renovatebot/github-action@259200be4d976a76196ec8985b0dddcaf1733b47 # v40.2.0 | |
with: | |
token: ${{ steps.app-token.outputs.token }} |