20 lines
534 B
YAML
20 lines
534 B
YAML
name: Setup Environment
|
|
description: Prepare the environment for A13labs CI/CD pipelines
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Get changed files
|
|
id: get_changed_files
|
|
shell: bash
|
|
run: |
|
|
# Get the list of changed files
|
|
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }})
|
|
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
|
|
|
|
- name: Setup Sectool
|
|
uses: a13labs/setup-sectool@v1
|