Skip to content

Commit

Permalink
chore: move gh call to dynamic repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Nov 12, 2024
1 parent ecb8fad commit 7a9dd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
RELEASE_JSON=$( \
gh api /repos/open-component-model/ocm-cicd-playground/releases \
gh api /repos/${{ github.repository }}/releases \
-q '.[] | select(.name == "${{ env.RELEASE_VERSION_NO_SUFFIX }}" and .draft == true)' \
)
echo "json=${RELEASE_JSON}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 7a9dd13

Please sign in to comment.