Skip to content

Commit

Permalink
chore: proper job params
Browse files Browse the repository at this point in the history
  • Loading branch information
adit-bala committed Feb 23, 2025
1 parent 611c100 commit 9b8e0a3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/helm-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Checkout PR Code
uses: actions/checkout@v4
with:
ref: refs/pull/${{ inputs.pr_number }}/head
ref: refs/pull/${{ github.event_name == 'workflow_dispatch' ? inputs.pr_number : github.event.issue.number }}/head

- name: Set up Helm
uses: azure/setup-helm@v1
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
fi
}
# First update dependencies if needed
# Update chart dependencies if needed
helm dependency update ./infra/app
helm dependency update ./infra/base
Expand All @@ -111,7 +111,7 @@ jobs:
--namespace=bt \
--set host=stanfurdtime.com \
--version 1.0.0 2>&1 | tee -a /tmp/raw_diffs.log | process_diff
# Process base chart diff output and log raw diff
echo "" >> diff_output.md
echo "#### Base Chart Changes" >> diff_output.md
Expand Down Expand Up @@ -161,4 +161,3 @@ jobs:
env:
PR_NUMBER: ${{ inputs.pr_number }}
DIFF: ${{ steps.generate-diff.outputs.diff }}

0 comments on commit 9b8e0a3

Please sign in to comment.