All checks were successful
Wallset Pipeline / detect-changes (pull_request) Successful in 17s
33 lines
737 B
YAML
33 lines
737 B
YAML
name: Wallset Pipeline
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'assets/**'
|
|
|
|
env:
|
|
ENTRY_FOLDER: assets
|
|
PACKAGE_NAME: "" # <- à adapter
|
|
RELEASE_VERSION: v${{ github.run_number }}
|
|
|
|
jobs:
|
|
detect-changes:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
changed: ${{ steps.set.outputs.changed }}
|
|
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Dump GitHub context
|
|
env:
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
run: echo "$GITHUB_CONTEXT"
|
|
|
|
- name: Detect changed packs
|
|
run: |
|
|
git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '^assets/' | cut -d '/' -f2 | sort -u | jq -R -s -c 'split("\n")[:-1]'
|