10
- integration-qemu-cron
11
- integration-conformance-cron
12
- integration-trusted-boot-cron
13
- integration-provision-0-cron
14
- integration-provision-1-cron
15
- integration-provision-2-cron
16
- integration-misc-0-cron
17
- integration-misc-1-cron
18
- integration-misc-2-cron
19
- integration-misc-3-cron
20
- integration-misc-4-cron
21
- integration-extensions-cron
22
- integration-cilium-cron
23
- integration-qemu-encrypted-vip-cron
24
- integration-qemu-race-cron
25
- integration-qemu-csi-cron
26
- integration-images-cron
27
- integration-reproducibility-test-cron
28
- integration-cloud-images-cron
29
- integration-image-factory-cron
30
- integration-aws-cron
31
- integration-aws-nvidia-oss-cron
32
- integration-aws-nvidia-nonfree-cron
33
- integration-azure-cron
34
- integration-equinix-metal-cron
42
if: github.event.workflow_run.conclusion != 'skipped'
46
if: github.event.workflow_run.event == 'pull_request'
48
GH_TOKEN: ${{ github.token }}
50
echo pull_request_number=$(gh pr view -R ${{ github.repository }} ${{ github.event.workflow_run.head_repository.owner.login }}:${{ github.event.workflow_run.head_branch }} --json number --jq .number) >> $GITHUB_OUTPUT
52
uses: slackapi/slack-github-action@v1
54
channel-id: proj-talos-maintainers
59
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}",
67
"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) }}"
71
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`"
80
"text": "*Author:*\n`${{ github.actor }}`"
84
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`"
100
"url": "${{ github.event.workflow_run.html_url }}"
105
"type": "plain_text",
108
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
117
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}