chore(deps): update renovate/renovate docker tag to v39.19.1 (#1093) #1094
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: Sync with upstream | |
permissions: | |
contents: write | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- 'Dockerfile' | |
- 'src/**' | |
- '.github/workflows/**' | |
jobs: | |
build: | |
name: Create the corresponding tag for the release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get GITHUB_TOKEN for checkout | |
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1 | |
id: app-token | |
with: | |
app-id: ${{ secrets.renovate_app_id }} | |
private-key: ${{ secrets.renovate_app_priv_key }} | |
- name: Check out code with the Github App Installation Token | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
token: '${{ steps.app-token.outputs.token }}' | |
- uses: fregante/setup-git-user@024bc0b8e177d7e77203b48dab6fb45666854b35 # v2 | |
- name: Tag the actions release tag | |
run: | | |
LATEST_TAG=v$(grep -E '^FROM renovate/renovate:' Dockerfile | cut -d: -f2 | cut -d@ -f1) | |
git tag -f "${LATEST_TAG}" | |
git push -f origin "refs/tags/${LATEST_TAG}" |