Skip to content

Commit 8d3cdf8

Browse files
author
torri
committed
populating
1 parent 3d3f302 commit 8d3cdf8

3 files changed

Lines changed: 2585 additions & 6 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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"

0 commit comments

Comments
 (0)