File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : antsibull changelog files
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ push :
8+ branches :
9+ - ' pr*'
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ name : Test changed-files
15+ steps :
16+ - uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Get changelog files
21+ id : changelog-files
22+ uses : tj-actions/changed-files@v31
23+ with :
24+ files : |
25+ changelogs/**
26+ - name : List all changed files
27+ run : |
28+ for file in ${{ steps.changelog-files.outputs.all_changed_files }}; do
29+ echo "antsibull changelog file found: $file"
30+ exit 0
31+ done
32+ echo "antsibull changelog files missing!"
33+ exit 1
Original file line number Diff line number Diff line change 1+ ---
2+ minor_changes :
3+ - " github Actions: check antsibull changelog files (#276)"
You can’t perform that action at this time.
0 commit comments