From 21144eec0db1b7faa793971257855985c73ef068 Mon Sep 17 00:00:00 2001 From: Harshil Gajera Date: Mon, 12 Aug 2024 11:48:15 +0530 Subject: [PATCH] ci: debugging --- .github/workflows/update_deps.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_deps.yml b/.github/workflows/update_deps.yml index eb813be..0677a3e 100644 --- a/.github/workflows/update_deps.yml +++ b/.github/workflows/update_deps.yml @@ -49,10 +49,13 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.12 + - name: check for latest version + - id: check-latest-splunk - run: | pip install -r requirements.txt - python splunk_matrix_update.py - echo $splunk_version + splunk_version=$(python splunk_matrix_update.py) + echo "splunk_version=splunk_version" >> "$GITHUB_OUTPUT" +# echo $splunk_version - uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }} @@ -60,6 +63,7 @@ jobs: 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 }}