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
7 changes: 4 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Unified workflow for pushes to main.
#
# Phase 1 (normal push): Lint + Test → Docs + Versioning
# Versioning commits with message "Update package version", triggering Phase 2.
# Versioning commits with message "Update package version".
# The commit pushes to main, re-triggering this workflow for Phase 2.
#
# Phase 2 (sentinel commit): Lint + Test → Publish to PyPI + GitHub Release

Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
with:
token: ${{ secrets.POLICYENGINE_GITHUB }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand All @@ -118,7 +119,7 @@ jobs:
needs: [Lint, Test]
if: github.event.head_commit.message == 'Update package version'
env:
GH_TOKEN: ${{ secrets.POLICYENGINE_GITHUB }}
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions changelog.d/fix-github-token.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use GITHUB_TOKEN instead of missing POLICYENGINE_GITHUB PAT in push workflow
Loading