Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/versioning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ jobs:
password: ${{ secrets.PYPI }}
skip_existing: true
- name: Update API
if: ${{ secrets.POLICYENGINE_GITHUB != '' }}
run: python .github/update_api.py
run: |
if [ -n "$CROSS_REPO_TOKEN" ]; then
GITHUB_TOKEN="$CROSS_REPO_TOKEN" python .github/update_api.py
else
echo "Skipping cross-repo API update (POLICYENGINE_GITHUB secret not set)"
fi
env:
GITHUB_TOKEN: ${{ secrets.POLICYENGINE_GITHUB }}
CROSS_REPO_TOKEN: ${{ secrets.POLICYENGINE_GITHUB }}
1 change: 1 addition & 0 deletions changelog.d/fix-versioning-secrets-syntax.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed invalid `secrets` reference in versioning workflow step condition that prevented the workflow from running.
Loading