Commit 7954422
Run make-pot only on manual dispatch
Drops the pull_request trigger, so this workflow no longer fires off any
branch or PR - the only way to run it is Actions > Generate POT file > Run
workflow.
Three things fall out of that automatically, since none of them can fire
any more:
- The job's `if:` gate. It existed to filter pull_request events down to
automatic_translations_* and tm_edits_* head branches; with no automatic
event left there is nothing to filter, so there is no branch identification
in this workflow at all now.
- The "Comment on PR if POT file changed" step, which was conditioned on
github.event.pull_request.
- Every github.head_ref reference, which is only ever set on a pull_request.
PR targeting is unchanged for a dispatch run: `branch` was already
`head_ref || ref_name` and head_ref is empty on dispatch, so it is now just
ref_name; `base` keeps the same `inputs.base || ref_name` precedence with
its develop default.
108 lines, 12 steps.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019LoLgW7oFjBPxGea9kiZJ21 parent 87dae18 commit 7954422
1 file changed
Lines changed: 6 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 17 | | |
28 | 18 | | |
29 | 19 | | |
| |||
87 | 77 | | |
88 | 78 | | |
89 | 79 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 80 | | |
103 | 81 | | |
104 | 82 | | |
| |||
125 | 103 | | |
126 | 104 | | |
127 | 105 | | |
128 | | - | |
129 | | - | |
| 106 | + | |
| 107 | + | |
130 | 108 | | |
0 commit comments