Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PyOxidizer pinning #231

Merged
merged 9 commits into from
Feb 3, 2025
Merged
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: 6 additions & 4 deletions .github/workflows/pin-for-pyoxidizer.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
name: Pin dependencies for oxidization.
name: Pin dependencies for oxidization

on:
workflow_dispatch:
schedule:
# Run every 1st of Month at 3:25 UTC
- cron: "25 3 1 * *"

permissions:
contents: write
pull-requests: write

jobs:
pin:
Expand All @@ -25,7 +28,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
# We need to persist credentials to possibly push the branch later.
persist-credentials: true
- uses: actions/setup-python@v5
with:
# Keep in-sync with ./pyoxidizer.yml
Expand All @@ -44,8 +48,6 @@ jobs:
- name: Commit & push changes
# Only push if changes exist
if: steps.changes.outputs.count > 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name github-actions
git config user.email [email protected]
Expand Down