File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check and update licenses
2+
3+ on :
4+ push :
5+ branches : [ "*-software.eessi.io" ]
6+ pull_request :
7+ branches : [ "*-software.eessi.io" ]
8+ types : [opened, synchronized]
9+ permissions :
10+ contents : read # we dont need to write
11+
12+ jobs :
13+ license_update :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout out software-layer repository
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
24+ with :
25+ python-version : ' 3.9'
26+
27+ - name : Check if an EasyStack has been modified
28+ id : diff
29+ run : |
30+ git fetch origin ${{ github.base_ref }}
31+ echo "🔍 Files changed between PR and base branch:"
32+ git diff --name-only origin/${{ github.base_ref }} HEAD | grep ".yml"
You can’t perform that action at this time.
0 commit comments