Skip to content

Commit f90f390

Browse files
Queue Workflows on pr creation
1 parent d3fa9cf commit f90f390

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/create-v1.0-pull-request.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ jobs:
4545
run: |
4646
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
4747
bin/hub pull-request -b "$BASE" -h "$GITHUB_REF" -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -r "$REVIEWERS" -a "$ASSIGNEDTO" -l "$LABELS"
48+
49+
queue-workflows:
50+
needs: create-pull-request
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Queue Api Level Lint
54+
uses: benc-uk/workflow-dispatch@v1
55+
with:
56+
workflow: "Checks the SDK only using APIs from the targeted API level"
57+
token: ${{ secrets.PERSONAL_TOKEN }}
58+
ref: ${{ github.event.pull_request.head.ref }}
59+
- name: Queue Code QL
60+
uses: benc-uk/workflow-dispatch@v1
61+
with:
62+
workflow: "CodeQL"
63+
toke: ${{ secrets.PERSONAL_TOKEN }}
64+
ref: ${{ github.event.pull_request.head.ref }}
65+
- name: Queue Java CI
66+
uses: benc-uk/workflow-dispatch@v1
67+
with:
68+
workflow: Java CI with Gradle
69+
toke: ${{ secrets.PERSONAL_TOKEN }}
70+
ref: ${{ github.event.pull_request.head.ref }}
71+
4872
# References
4973
# [0] https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables
5074
# [1] https://hub.github.com/hub-pull-request.1.html

0 commit comments

Comments
 (0)