mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
update PR publish to wait for lint success
This commit is contained in:
@@ -6,7 +6,20 @@ on:
|
|||||||
- development
|
- development
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
wait-for-lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Wait for Test workflow to complete
|
||||||
|
uses: lewagon/wait-on-check-action@v1.4.1
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
check-name: 'lint'
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
allowed-conclusions: success
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
needs: wait-for-lint
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user