Skip to content

Commit 8a8d8cb

Browse files
committed
chore: regenerate build instructions
make rekres Signed-off-by: Andrey Smirnov <[email protected]>
1 parent d3b9a16 commit 8a8d8cb

File tree

6 files changed

+172
-38
lines changed

6 files changed

+172
-38
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-03-07T10:02:46Z by kres d88db2f.
3+
# Generated on 2025-10-24T10:26:02Z by kres 46e133d.
44

5-
name: default
65
concurrency:
76
group: ${{ github.head_ref || github.run_id }}
87
cancel-in-progress: true
@@ -17,6 +16,7 @@ concurrency:
1716
branches:
1817
- main
1918
- release-*
19+
name: default
2020
jobs:
2121
default:
2222
permissions:
@@ -26,13 +26,12 @@ jobs:
2626
packages: write
2727
pull-requests: read
2828
runs-on:
29-
- self-hosted
30-
- pkgs
29+
group: pkgs
3130
if: (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
3231
steps:
3332
- name: gather-system-info
3433
id: system-info
35-
uses: kenchan0130/actions-system-info@v1.3.0
34+
uses: kenchan0130/actions-system-info@v1.4.0
3635
continue-on-error: true
3736
- name: print-system-info
3837
run: |
@@ -56,7 +55,7 @@ jobs:
5655
done
5756
continue-on-error: true
5857
- name: checkout
59-
uses: actions/checkout@v4
58+
uses: actions/checkout@v5
6059
- name: Unshallow
6160
run: |
6261
git fetch --prune --unshallow

.github/workflows/lock.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-10-24T10:26:02Z by kres 46e133d.
4+
5+
"on":
6+
schedule:
7+
- cron: 0 2 * * *
8+
name: Lock old issues
9+
permissions:
10+
issues: write
11+
jobs:
12+
action:
13+
runs-on:
14+
- ubuntu-latest
15+
steps:
16+
- name: Lock old issues
17+
uses: dessant/[email protected]
18+
with:
19+
issue-inactive-days: "60"
20+
log-output: "true"
21+
process-only: issues
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-10-24T10:26:02Z by kres 46e133d.
4+
5+
"on":
6+
workflow_run:
7+
workflows:
8+
- default
9+
types:
10+
- completed
11+
branches:
12+
- main
13+
name: slack-notify-failure
14+
jobs:
15+
slack-notify:
16+
runs-on:
17+
group: generic
18+
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'pull_request'
19+
steps:
20+
- name: Slack Notify
21+
uses: slackapi/slack-github-action@v2
22+
with:
23+
method: chat.postMessage
24+
payload: |
25+
{
26+
"channel": "ci-failure",
27+
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
28+
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
29+
"username": "GitHub Actions",
30+
"attachments": [
31+
{
32+
"blocks": [
33+
{
34+
"fields": [
35+
{
36+
"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) }}",
37+
"type": "mrkdwn"
38+
},
39+
{
40+
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
41+
"type": "mrkdwn"
42+
}
43+
],
44+
"type": "section"
45+
},
46+
{
47+
"fields": [
48+
{
49+
"text": "*Author:*\n`${{ github.actor }}`",
50+
"type": "mrkdwn"
51+
},
52+
{
53+
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
54+
"type": "mrkdwn"
55+
}
56+
],
57+
"type": "section"
58+
},
59+
{
60+
"type": "divider"
61+
},
62+
{
63+
"elements": [
64+
{
65+
"text": {
66+
"text": "Logs",
67+
"type": "plain_text"
68+
},
69+
"type": "button",
70+
"url": "${{ github.event.workflow_run.html_url }}"
71+
},
72+
{
73+
"text": {
74+
"text": "Commit",
75+
"type": "plain_text"
76+
},
77+
"type": "button",
78+
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
79+
}
80+
],
81+
"type": "actions"
82+
}
83+
],
84+
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
85+
}
86+
]
87+
}
88+
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}
Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-03-07T10:02:46Z by kres d88db2f.
3+
# Generated on 2025-10-24T10:26:02Z by kres 46e133d.
44

5-
name: slack-notify
65
"on":
76
workflow_run:
87
workflows:
98
- default
109
types:
1110
- completed
11+
name: slack-notify
1212
jobs:
1313
slack-notify:
1414
runs-on:
15-
- self-hosted
16-
- generic
15+
group: generic
1716
if: github.event.workflow_run.conclusion != 'skipped'
1817
steps:
1918
- name: Get PR number
@@ -29,64 +28,66 @@ jobs:
2928
method: chat.postMessage
3029
payload: |
3130
{
32-
"channel": "proj-talos-maintainers",
31+
"channel": "ci-all",
32+
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
33+
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
34+
"username": "GitHub Actions",
3335
"attachments": [
3436
{
35-
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}",
36-
"fallback": "test",
3737
"blocks": [
3838
{
39-
"type": "section",
4039
"fields": [
4140
{
42-
"type": "mrkdwn",
43-
"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) }}"
41+
"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) }}",
42+
"type": "mrkdwn"
4443
},
4544
{
46-
"type": "mrkdwn",
47-
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`"
45+
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
46+
"type": "mrkdwn"
4847
}
49-
]
48+
],
49+
"type": "section"
5050
},
5151
{
52-
"type": "section",
5352
"fields": [
5453
{
55-
"type": "mrkdwn",
56-
"text": "*Author:*\n`${{ github.actor }}`"
54+
"text": "*Author:*\n`${{ github.actor }}`",
55+
"type": "mrkdwn"
5756
},
5857
{
59-
"type": "mrkdwn",
60-
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`"
58+
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
59+
"type": "mrkdwn"
6160
}
62-
]
61+
],
62+
"type": "section"
6363
},
6464
{
6565
"type": "divider"
6666
},
6767
{
68-
"type": "actions",
6968
"elements": [
7069
{
71-
"type": "button",
7270
"text": {
73-
"type": "plain_text",
74-
"text": "Logs"
71+
"text": "Logs",
72+
"type": "plain_text"
7573
},
74+
"type": "button",
7675
"url": "${{ github.event.workflow_run.html_url }}"
7776
},
7877
{
79-
"type": "button",
8078
"text": {
81-
"type": "plain_text",
82-
"text": "Commit"
79+
"text": "Commit",
80+
"type": "plain_text"
8381
},
82+
"type": "button",
8483
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
8584
}
86-
]
85+
],
86+
"type": "actions"
8787
}
88-
]
88+
],
89+
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
8990
}
9091
]
9192
}
92-
token: ${{ secrets.SLACK_BOT_TOKEN }}
93+
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-10-24T10:26:02Z by kres 46e133d.
4+
5+
"on":
6+
schedule:
7+
- cron: 30 1 * * *
8+
name: Close stale issues and PRs
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
jobs:
13+
stale:
14+
runs-on:
15+
- ubuntu-latest
16+
steps:
17+
- name: Close stale issues and PRs
18+
uses: actions/[email protected]
19+
with:
20+
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
21+
days-before-issue-close: "5"
22+
days-before-issue-stale: "180"
23+
days-before-pr-close: "-1"
24+
days-before-pr-stale: "45"
25+
operations-per-run: "2000"
26+
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.
27+
stale-pr-message: This PR is stale because it has been open 45 days with no activity.

.kres.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ spec:
1010
buildxOptions:
1111
enabled: true
1212
crossBuilder: true
13-
runners:
14-
- self-hosted
15-
- pkgs
13+
runnerGroup: pkgs
1614
steps:
1715
- name: build
1816
nonMakeStep: true

0 commit comments

Comments
 (0)