mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
31 lines
714 B
YAML
31 lines
714 B
YAML
name: Changed files reusable workflow
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
files:
|
|
required: true
|
|
type: string
|
|
outputs:
|
|
any_changed:
|
|
value: ${{ jobs.changed-files.outputs.any_changed }}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
changed-files:
|
|
timeout-minutes: 5
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
any_changed: ${{ steps.changed-files.outputs.any_changed }}
|
|
steps:
|
|
- name: Fetch custom Github Actions and base branch history
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Check for changed files
|
|
id: changed-files
|
|
uses: tj-actions/changed-files@v45
|
|
with:
|
|
files: ${{ inputs.files }}
|