File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 10
10
11
11
permissions :
12
12
contents : read
13
+ pull-requests : write
13
14
14
15
jobs :
15
- initialize :
16
- name : Initialize
17
- runs-on : ubuntu-22.04
18
- steps :
19
- - name : Get PR head ref
20
- if : ${{ github.event_name == 'pull_request' }}
21
- id : pr_head_ref
22
- run : |
23
- echo "ref=refs/pull/${{ github.event.pull_request.number }}/head" >> $GITHUB_OUTPUT
24
- outputs :
25
- ref : >-
26
- ${{
27
- (github.event_name == 'pull_request' && startsWith(github.head_ref, 'release/v'))
28
- && steps.pr_head_ref.outputs.ref
29
- || github.ref
30
- }}
31
-
32
16
checks :
33
17
name : Checks
34
18
uses : ./.github/workflows/checks.yml
35
19
36
20
build :
37
21
name : ${{ matrix.platform }}
38
- needs : [initialize, checks]
22
+ needs : [checks]
39
23
runs-on : ${{ matrix.os }}
40
24
strategy :
41
25
fail-fast : false
59
43
steps :
60
44
- name : Checkout source code
61
45
uses : actions/checkout@v4
62
- with :
63
- ref : ${{ github.ref }}
64
46
65
47
- name : Install Rust
66
48
uses : dtolnay/rust-toolchain@master
You can’t perform that action at this time.
0 commit comments