Tom Powell | e495da5 | 2023-09-16 16:19:29 -0700 | [diff] [blame] | 1 | name: gerrit checks |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | inputs: |
| 6 | ref: |
| 7 | type: string |
| 8 | gerrit-ref: |
| 9 | type: string |
| 10 | change: |
| 11 | type: string |
| 12 | |
| 13 | jobs: |
| 14 | build: |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
Tom Powell | 0a4c3a6 | 2023-09-16 16:25:01 -0700 | [diff] [blame] | 17 | - uses: lineageos-infra/fetch-gerrit-change@main |
| 18 | with: |
Tom Powell | 0a4c3a6 | 2023-09-16 16:25:01 -0700 | [diff] [blame] | 19 | gerrit-ref: ${{ inputs.gerrit-ref }} |
| 20 | ref: ${{ inputs.ref }} |
Tom Powell | e495da5 | 2023-09-16 16:19:29 -0700 | [diff] [blame] | 21 | |
LuK1337 | 2edbe9a | 2023-09-17 13:44:43 +0200 | [diff] [blame] | 22 | - name: Build |
| 23 | uses: ./.github/workflows/build |
LuK1337 | 4d1eedf | 2023-09-18 09:33:32 +0200 | [diff] [blame] | 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 }} |