Bot PRs: GitHub Actions can no longer open PRs here (since 26 Oct), and bot pushes never trigger CI; choose a token or re-enable the setting
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Start with the fetch-vintages.yml workflow and review the changes in #221, which the issue says already handles updating existing PRs and running PR-time gates. The remaining decision is to configure a DATA_PR_TOKEN secret or restore the GitHub Actions permission to create pull requests; confirm with a maintainer which option is available. Done means a new bot PR can be opened and its required CI checks run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Decision needed
Since 26 Oct 2026 every fetch-vintages.yml run has failed with
##[error]GitHub Actions is not permitted to create or approve pull requests.
(first failing run 40289015018, latest 41988331394). gh api repos/PolicyEngine/macro/actions/permissions/workflow returns {"default_workflow_permissions":"write","can_approve_pull_request_reviews":false}. I can't read the org-level policy (403 with Vahid's token), so I don't know whether the repo toggle was switched off or an org policy changed on 24–25 Oct.
A second, older problem has the same cause: the bot pushes with GITHUB_TOKEN, so GitHub never starts pull_request workflows on its PRs. #195 (head 18442ea) has Vercel checks only and has never been through forecast-archive, data-immutability or site-provenance.
#221 makes the pipeline robust to both. It updates an existing PR without the create permission, and it runs every PR-time gate inside the job. A brand-new bot PR still needs one of the options below. That means the first refresh after #195 merges, and every nowcast round PR.
Options
- Add a
DATA_PR_TOKENsecret (recommended). Use a fine-grained PAT, or better a GitHub App token, scoped to PolicyEngine/macro with Contents and Pull requests read/write. #221 already uses it for checkout, push and PR calls when it is set. Bot pushes then trigger PR-time CI, so bot PRs show real checks. - Re-enable "Allow GitHub Actions to create and approve pull requests" in Settings → Actions → General → Workflow permissions. If the box is greyed out, an org owner has to allow it under the PolicyEngine org Actions settings. This fixes creation only; bot PRs still get no CI runs, so a human has to close and reopen each one to get checks.
- Neither. The job pushes the branch and prints a compare link; a human opens the PR by hand each time.
Recommendation: option 1 (App token if the org has one, otherwise a fine-grained PAT owned by vahid-ahmadi with a 1-year expiry and a calendar reminder).
- Ngôn ngữ chính
- HTML
- Star
- 3
- Fork
- 1
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 53
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/macro
-
HANK incidence overlay omits the model's labour-tax financingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởquestion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
PolicyEngine/macro#214 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hosted score_reform (OBR, default window) has not finished within 10 minutes since the 30 Oct deployĐang mở
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 25/100
PolicyEngine/macro#243 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Referee review of the model pages (6 Nov 2026)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởquestion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
PolicyEngine/macro#227 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PolicyEngine/macro#210 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UK SVAR adapter publishes log-difference YoY as if it were the simple rateCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
PolicyEngine/macro#208 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/macro
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Integration tests: each test waits about 50 seconds in Azure SDK retries while Azurite startsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Lambda Web Function AvailabilityĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cdklabs/cdk-nextjs#365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
alpine build process
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
nodejs/docker-node#2707 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
manjaro-sway/manjaro-sway#1079 ·
Maintainer thường phản hồi trong vòng 1 ngày