Skip to content

Commit

Permalink
ci: updated variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilgajera-crest committed Aug 14, 2024
1 parent 3a9dc00 commit 454fd42
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ jobs:
id: check-latest-splunk
run: |
pip install -r requirements.txt
splunk_version=$(python splunk_matrix_update.py)
echo "splunk_version=splunk_version" >> "$GITHUB_OUTPUT"
# echo $splunk_version
is_splunk_config_file_updated=$(python splunk_matrix_update.py)
echo $is_splunk_config_file_updated
- uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Create PR with new version
if: if [[ "${{ steps.check-latest-splunk.outputs.splunk_version }}" == "true" ]]
run: |
git config --global user.email ${{ secrets.GH_USER_EMAIL }}
git config --global user.name ${{ secrets.GH_USER_ADMIN }}
Expand Down

0 comments on commit 454fd42

Please sign in to comment.