File tree Expand file tree Collapse file tree 1 file changed +16
-41
lines changed
Expand file tree Collapse file tree 1 file changed +16
-41
lines changed Original file line number Diff line number Diff line change 1- name : Integration (YAML)
1+ name : Integration - YAML
2+
23
34on :
45 push :
56 branches :
67 - main
7- pull_request : {}
8+ paths :
9+ - " **.yaml"
10+ - " **.yml"
11+
12+ pull_request :
13+ paths :
14+ - " **.yaml"
15+ - " **.yml"
16+
17+ workflow_dispatch : {}
18+
819
920concurrency :
10- group : yaml- integration-${{ github.ref }}
21+ group : integration-yaml -${{ github.ref }}
1122 cancel-in-progress : true
1223
13- jobs :
14- changed :
15- name : Filter Changed Files and Directories
16- runs-on : ubuntu-latest
17-
18- outputs :
19- changed : ${{ steps.set-outputs.outputs.changed }}
20- modified : ${{ steps.set-outputs.outputs.modified }}
21- changed_files : ${{ steps.set-outputs.outputs.changed_files }}
22- modified_files : ${{ steps.set-outputs.outputs.modified_files }}
23-
24- steps :
25- - name : Checkout
26- uses : actions/checkout@v4
27- with :
28- fetch-depth : 0
29-
30- - name : Get Changed Files
31- id : changed-files
32- uses : tj-actions/changed-files@v44
33- with :
34- files : |
35- **/*.yaml
36- **/*.yml
37- json : true
38-
39- - name : Set outputs
40- id : set-outputs
41- run : |
42- echo "changed=${{ steps.changed-files.outputs.any_changed }}" >> $GITHUB_OUTPUT
43- echo "modified=${{ steps.changed-files.outputs.any_modified }}" >> $GITHUB_OUTPUT
44-
45- echo "changed_files=${{ steps.changed-files.outputs.all_changed_files }}" >> $GITHUB_OUTPUT
46- echo "modified_files=${{ steps.changed-files.outputs.all_modified_files }}" >> $GITHUB_OUTPUT
4724
25+ jobs :
4826 lint :
4927 name : Lint (yamllint)
50- needs :
51- - changed
52- if : ${{ needs.changed.outputs.modified == 'true' }}
53- uses : tedilabs/.github/.github/workflows/yaml.yamllint.yaml@main
28+ uses : tedilabs/github-actions/.github/workflows/yaml.yamllint.yaml@main
5429
5530 with :
5631 yamllint_version : latest
You can’t perform that action at this time.
0 commit comments