Commit 6fdf59b
Replace personal PAT with GITHUB_TOKEN in versioning workflow (#1530)
The Versioning job previously required secrets.POLICYENGINE_GITHUB (a
personal PAT) to push the version bump commit and re-trigger the Publish
job. This broke when the PAT expired.
Changes:
- Use GITHUB_TOKEN with contents:write for same-repo checkout/push
- Restructure Publish as needs:Versioning sequential job instead of
relying on a re-triggered push event (GITHUB_TOKEN pushes don't
trigger new workflow runs)
- Make cross-repo update_api.py conditional on POLICYENGINE_GITHUB
secret availability
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 10ac428 commit 6fdf59b
2 files changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
23 | | - | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| 56 | + | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
52 | 60 | | |
| |||
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | | - | |
| 85 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments