forked from konflux-ci/build-definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.08 KB
/
check-ta.yaml
File metadata and controls
37 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# yamllint disable-file
# <TEMPLATED FILE!>
# This file comes from the templates at https://github.com/konflux-ci/task-repo-shared-ci.
# Please consider sending a PR upstream instead of editing the file directly.
# See the SHARED-CI.md document in this repo for more details.
name: Validate PR - Trusted Artifact variants
'on':
pull_request:
branches: [main]
merge_group:
types: [checks_requested]
jobs:
go:
name: Check Trusted Artifact variants
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Check Trusted Artifact variants
id: check
run: |
hack/generate-ta-tasks.sh
- name: Check missing Trusted Artifact variants
id: missing
run: |
hack/missing-ta-tasks.sh
- name: Attach patch
if: ${{ steps.check.conclusion == 'failure' }}
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: Trusted artifacts patch
path: ./ta.patch