determine changed files
Some checks failed
ArgoCD Diff / argocd-diff-preview (pull_request) Failing after 43s

This commit is contained in:
Peter 2026-05-29 11:29:45 +02:00
parent 89960102a1
commit f7b42cb9dd
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg

View file

@ -25,6 +25,10 @@ jobs:
ref: main
path: main
- name: Get changed files
id: changed-files
uses: https://github.com/tj-actions/changed-files@v45
- name: Install Docker CLI
run: |
if command -v apt-get &>/dev/null; then
@ -36,8 +40,6 @@ jobs:
- name: Generate Diff
run: |
mkdir -p $(pwd)/output
ls $(pwd)/main
ls $(pwd)/pull-request
docker run \
--network=host \
-v /var/run/docker.sock:/var/run/docker.sock \
@ -46,6 +48,7 @@ jobs:
-v $(pwd)/output:/output \
-e TARGET_BRANCH=refs/pull/$PR_NUMBER/merge \
-e REPO=${{ forge.repository }} \
-e FILES_CHANGED="${{ steps.changed-files.outputs.all_changed_files }}" \
dagandersen/argocd-diff-preview:v0.2.8
- name: Add comment