blob: 4a6c44918a0620ca2108d165b73d1368ae0f835f [file] [log] [blame]
Tom Powelle495da52023-09-16 16:19:29 -07001name: 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:
Tom Powell0a4c3a62023-09-16 16:25:01 -070017 - uses: lineageos-infra/fetch-gerrit-change@main
18 with:
Tom Powell0a4c3a62023-09-16 16:25:01 -070019 gerrit-ref: ${{ inputs.gerrit-ref }}
20 ref: ${{ inputs.ref }}
Tom Powelle495da52023-09-16 16:19:29 -070021
LuK13372edbe9a2023-09-17 13:44:43 +020022 - name: Build
23 uses: ./.github/workflows/build
LuK13374d1eedf2023-09-18 09:33:32 +020024
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 }}