Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-05-02T10:29:08Z by kres 6cbcbd1.
# Generated on 2025-08-11T16:22:48Z by kres 79636f7.

name: default
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -17,6 +16,7 @@ concurrency:
branches:
- main
- release-*
name: default
jobs:
default:
permissions:
Expand All @@ -32,7 +32,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/[email protected].0
uses: kenchan0130/[email protected].1
continue-on-error: true
- name: print-system-info
run: |
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/[email protected].0
uses: kenchan0130/[email protected].1
continue-on-error: true
- name: print-system-info
run: |
Expand Down Expand Up @@ -161,6 +161,7 @@ jobs:
permissions:
actions: read
contents: write
id-token: write
issues: read
packages: write
pull-requests: read
Expand All @@ -171,7 +172,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/[email protected].0
uses: kenchan0130/[email protected].1
continue-on-error: true
- name: print-system-info
run: |
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-08-11T16:22:48Z by kres 79636f7.

"on":
schedule:
- cron: 0 2 * * *
name: Lock old issues
permissions:
issues: write
jobs:
action:
runs-on:
- ubuntu-latest
steps:
- name: Lock old issues
uses: dessant/[email protected]
with:
issue-inactive-days: "60"
log-output: "true"
process-only: issues
89 changes: 89 additions & 0 deletions .github/workflows/slack-notify-ci-failure.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-08-11T16:22:48Z by kres 79636f7.

"on":
workflow_run:
workflows:
- default
types:
- completed
branches:
- main
name: slack-notify-failure
jobs:
slack-notify:
runs-on:
- self-hosted
- generic
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'pull_request'
steps:
- name: Slack Notify
uses: slackapi/slack-github-action@v2
with:
method: chat.postMessage
payload: |
{
"channel": "ci-failure",
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
"username": "GitHub Actions",
"attachments": [
{
"blocks": [
{
"fields": [
{
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}",
"type": "mrkdwn"
},
{
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
"type": "mrkdwn"
}
],
"type": "section"
},
{
"fields": [
{
"text": "*Author:*\n`${{ github.actor }}`",
"type": "mrkdwn"
},
{
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
"type": "mrkdwn"
}
],
"type": "section"
},
{
"type": "divider"
},
{
"elements": [
{
"text": {
"text": "Logs",
"type": "plain_text"
},
"type": "button",
"url": "${{ github.event.workflow_run.html_url }}"
},
{
"text": {
"text": "Commit",
"type": "plain_text"
},
"type": "button",
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
}
],
"type": "actions"
}
],
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
}
]
}
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}
56 changes: 29 additions & 27 deletions .github/workflows/slack-notify.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-04-09T14:15:15Z by kres d903dae.
# Generated on 2025-08-11T16:22:48Z by kres 79636f7.

name: slack-notify
"on":
workflow_run:
workflows:
- default
types:
- completed
name: slack-notify
jobs:
slack-notify:
runs-on:
Expand All @@ -29,64 +29,66 @@ jobs:
method: chat.postMessage
payload: |
{
"channel": "proj-talos-maintainers",
"channel": "ci-all",
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
"username": "GitHub Actions",
"attachments": [
{
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}",
"fallback": "test",
"blocks": [
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}"
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}",
"type": "mrkdwn"
},
{
"type": "mrkdwn",
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`"
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
"type": "mrkdwn"
}
]
],
"type": "section"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Author:*\n`${{ github.actor }}`"
"text": "*Author:*\n`${{ github.actor }}`",
"type": "mrkdwn"
},
{
"type": "mrkdwn",
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`"
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
"type": "mrkdwn"
}
]
],
"type": "section"
},
{
"type": "divider"
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Logs"
"text": "Logs",
"type": "plain_text"
},
"type": "button",
"url": "${{ github.event.workflow_run.html_url }}"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Commit"
"text": "Commit",
"type": "plain_text"
},
"type": "button",
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
}
]
],
"type": "actions"
}
]
],
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
}
]
}
token: ${{ secrets.SLACK_BOT_TOKEN }}
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}
27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-08-11T16:22:48Z by kres 79636f7.

"on":
schedule:
- cron: 30 1 * * *
name: Close stale issues and PRs
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on:
- ubuntu-latest
steps:
- name: Close stale issues and PRs
uses: actions/[email protected]
with:
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
days-before-issue-close: "5"
days-before-issue-stale: "180"
days-before-pr-close: "-1"
days-before-pr-stale: "45"
operations-per-run: "2000"
stale-issue-message: This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
stale-pr-message: This PR is stale because it has been open 45 days with no activity.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ NAME := cluster-api-talos-controller
ARTIFACTS := _out
TEST_RUN ?= ./...

TOOLS ?= ghcr.io/siderolabs/tools:v1.10.0
PKGS ?= v1.10.0
TALOS_VERSION ?= v1.10.0
K8S_VERSION ?= 1.32.3
TOOLS ?= ghcr.io/siderolabs/tools:v1.11.0
PKGS ?= v1.11.0
TALOS_VERSION ?= v1.11.0-beta.1
K8S_VERSION ?= 1.33.3

KRES_IMAGE ?= ghcr.io/siderolabs/kres:latest

Expand Down
Loading