This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ pub struct GenericEvent {
198
198
#[ derive( Deserialize , Serialize , Debug ) ]
199
199
#[ serde( rename_all = "kebab-case" ) ]
200
200
pub struct PullRequest {
201
- #[ serde( default ) ]
201
+ #[ serde( default , deserialize_with = "crate::common::scalar_or_vector" ) ]
202
202
pub types : Vec < String > ,
203
203
204
204
#[ serde( flatten) ]
Original file line number Diff line number Diff line change
1
+ # See https://github.com/woodruffw/zizmor/issues/650
2
+
3
+ # Copyright © Michal Čihař <[email protected] >
4
+ #
5
+ # SPDX-License-Identifier: CC0-1.0
6
+
7
+ # This file is maintained in https://github.com/WeblateOrg/meta/
8
+
9
+ name : Pull request automation
10
+
11
+ on :
12
+ pull_request_target :
13
+ types : opened
14
+
15
+ permissions :
16
+ contents : read
17
+
18
+ jobs :
19
+ weblate_automerge :
20
+ permissions :
21
+ pull-requests : write
22
+ contents : write
23
+ runs-on : ubuntu-24.04
24
+ name : Weblate automerge
25
+ if : github.actor == 'weblate'
26
+ steps :
27
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
+ - name : Enable Pull Request Automerge
29
+ run : gh pr merge --rebase --auto "${{ github.event.pull_request.number }}"
30
+ env :
31
+ GH_TOKEN : ${{ secrets.WEBLATE_CI_TOKEN }}
You can’t perform that action at this time.
0 commit comments