blob: 692075e8345b9a1350526ee3fc9ce8c09dd177fa [file] [log] [blame]
Sebastiano Barezzi380db732024-09-14 22:12:58 +02001name: gerrit checks
2
3on:
4 workflow_dispatch:
5 inputs:
6 ref:
7 type: string
8 gerrit-ref:
9 type: string
10 change:
11 type: string
12
13jobs:
14 build:
15 runs-on: ubuntu-latest
16 steps:
17 - uses: lineageos-infra/fetch-gerrit-change@main
18 with:
19 gerrit-ref: ${{ inputs.gerrit-ref }}
20 ref: ${{ inputs.ref }}
21
22 - name: Build
23 uses: ./.github/workflows/build
24
25 - uses: lineageos-infra/gerrit-vote@main
26 if: always()
27 with:
28 auth: ${{ secrets.GERRIT_VOTE_CREDS }}
29 change: ${{ inputs.change }}
30 ref: ${{ inputs.ref }}