Skip to content

Commit

Permalink
Test watch pattern annotation + tj-actions/changed-files@v45
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-andersen committed Nov 7, 2024
1 parent c2e3952 commit c7b49ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/generate-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
pull-requests: write

steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45

- uses: actions/checkout@v4
with:
path: pull-request
Expand All @@ -27,6 +31,7 @@ jobs:

- name: Generate Diff
run: |
docker build pull-request -t image
docker run \
--network=host \
-v /var/run/docker.sock:/var/run/docker.sock \
Expand All @@ -35,7 +40,8 @@ jobs:
-v $(pwd)/output:/output \
-e TARGET_BRANCH=${{ github.head_ref }} \
-e REPO=${{ github.repository }} \
dagandersen/argocd-diff-preview:v0.0.23
-e FILES_CHANGED="${{ steps.changed-files.outputs.all_changed_files }}" \
image --debug
- name: Post diff as comment
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/helm/values/filtered.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fullnameOverride: super-app-name
fullnameOverride: experiment

0 comments on commit c7b49ee

Please sign in to comment.