Introduce workflow for bumping fluxcd/pkg deps

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta 2026-02-14 02:42:16 +00:00
parent f950198f9d
commit 75bf2d608f
No known key found for this signature in database
GPG key ID: 4639F038AE28FBFF
4 changed files with 24 additions and 3 deletions

View file

@ -8,6 +8,6 @@ jobs:
permissions:
contents: write # for reading and creating branches.
pull-requests: write # for creating pull requests against release branches.
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.4.0
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.8.0
secrets:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}

View file

@ -13,7 +13,7 @@ jobs:
permissions:
contents: read # for reading the repository code.
security-events: write # for uploading the CodeQL analysis results.
uses: fluxcd/gha-workflows/.github/workflows/code-scan.yaml@v0.4.0
uses: fluxcd/gha-workflows/.github/workflows/code-scan.yaml@v0.8.0
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
fossa-token: ${{ secrets.FOSSA_TOKEN }}

View file

@ -12,6 +12,6 @@ jobs:
permissions:
contents: read # for reading the labels file.
issues: write # for creating and updating labels.
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.4.0
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.8.0
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -0,0 +1,21 @@
name: upgrade-fluxcd-pkg
on:
workflow_dispatch:
inputs:
pre-release-pkg:
description: >-
Temporary flag for Flux 2.8: use the flux/v2.8.x pkg branch for main branches
because the pkg release branch was cut before the Flux distribution release.
Remove this input once Flux 2.8.0 is released.
required: false
default: false
type: boolean
jobs:
upgrade-fluxcd-pkg:
uses: fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml@v0.8.0
with:
pre-release-pkg: ${{ inputs.pre-release-pkg }}
secrets:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}