diff --git a/.github/labels.yaml b/.github/labels.yaml index fb21cd953..c77cd9ef1 100644 --- a/.github/labels.yaml +++ b/.github/labels.yaml @@ -13,6 +13,10 @@ color: "ffc300" - name: renovate/container color: "ffc300" +- name: renovate/github-action + color: "ffc300" +- name: renovate/github-release + color: "ffc300" - name: renovate/helm color: "ffc300" - name: renovate/terraform diff --git a/.github/renovate/labels.json b/.github/renovate/labels.json index 8cb66e8e5..36da3e72a 100644 --- a/.github/renovate/labels.json +++ b/.github/renovate/labels.json @@ -27,6 +27,14 @@ { "matchDatasources": ["terraform-provider"], "addLabels": ["renovate/terraform"] - } + }, + { + "matchDatasources": ["github-releases", "github-tags"], + "addLabels": ["renovate/github-release"] + }, + { + "matchManagers": ["github-actions"], + "addLabels": ["renovate/github-action"] + } ] } \ No newline at end of file diff --git a/.github/workflows/schedule-flux-update.yaml b/.github/workflows/schedule-flux-update.yaml index 410a16962..29f7dda6c 100644 --- a/.github/workflows/schedule-flux-update.yaml +++ b/.github/workflows/schedule-flux-update.yaml @@ -35,10 +35,12 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: "${{ steps.generate-token.outputs.token }}" - branch: "ci/flux-update-${{ steps.update.outputs.flux_version }}" + branch: "github-action/flux-update-${{ steps.update.outputs.flux_version }}" delete-branch: true - title: "chore(ci): update flux components to ${{ steps.update.outputs.flux_version }}" + title: "chore(github-action): update flux components to ${{ steps.update.outputs.flux_version }}" signoff: true - commit-message: "chore(ci): update flux components to ${{ steps.update.outputs.flux_version }}" + commit-message: "chore(github-action): update flux components to ${{ steps.update.outputs.flux_version }}" body: | Release notes: https://github.com/fluxcd/flux2/releases/tag/${{ steps.update.outputs.flux_version }} + labels: | + renovate/github-action diff --git a/.github/workflows/schedule-library-chart-update.yaml b/.github/workflows/schedule-library-chart-update.yaml new file mode 100644 index 000000000..e82a14388 --- /dev/null +++ b/.github/workflows/schedule-library-chart-update.yaml @@ -0,0 +1,45 @@ +--- +name: Schedule - Library Chart Update + +on: # yamllint disable-line rule:truthy + workflow_dispatch: + schedule: + - cron: "0 */4 * * *" + +jobs: + library-chart-update: + name: Library Chart Update + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Generate Token + uses: tibdex/github-app-token@v1 + id: generate-token + with: + app_id: "${{ secrets.BOT_APP_ID }}" + private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" + - name: Install Helm + uses: azure/setup-helm@v1 + with: + version: v3.6.3 + - name: Add library chart + run: helm repo add k8s-at-home-library https://library-charts.k8s-at-home.com + - name: Update helm repositories + run: helm repo update + - name: Update helm dependencies + run: helm dep update + working-directory: charts/kah-common + - name: Create pull request + uses: peter-evans/create-pull-request@v3 + with: + token: "${{ steps.generate-token.outputs.token }}" + branch: github-action/renovate-kah-library-chart + delete-branch: true + title: "chore(github-action): update kah library chart" + signoff: true + commit-message: "chore(github-action): update kah library chart" + body: | + Update the kah library chart + labels: | + renovate/github-action diff --git a/.github/workflows/schedule-link-checker.yaml b/.github/workflows/schedule-link-checker.yaml index 9c17ef0b4..f111f594c 100644 --- a/.github/workflows/schedule-link-checker.yaml +++ b/.github/workflows/schedule-link-checker.yaml @@ -4,9 +4,6 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: schedule: - cron: "0 0 * * *" - push: - branches: - - main jobs: link-checker: