Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/check_licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check and update licenses

on:
push:
branches: [ "*-software.eessi.io" ]
pull_request:
branches: [ "*-software.eessi.io" ]
types: [opened, synchronized]
permissions:
contents: read # we dont need to write

jobs:
license_update:
runs-on: ubuntu-latest

steps:
- name: Checkout out software-layer repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: '3.9'

- name: Check if an EasyStack has been modified
id: diff
run: |
git fetch origin ${{ github.base_ref }}
echo "🔍 Files changed between PR and base branch:"
git diff --name-only origin/${{ github.base_ref }} HEAD | grep ".yml"
23 changes: 0 additions & 23 deletions .github/workflows/test_licenses.yml

This file was deleted.

Loading