Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [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: |
| 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 }} |