-
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (50 loc) · 1.57 KB
/
android_pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: PR workflow
on:
pull_request:
paths-ignore:
- '*/.creds/**'
- .idea/**
- LICENSE
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
quality:
uses: kevalpatel2106/pocket-ci/.github/workflows/reuse_code_analysis.yml@main
security:
uses: kevalpatel2106/pocket-ci/.github/workflows/reuse_security.yml@main
test:
uses: kevalpatel2106/pocket-ci/.github/workflows/reuse_test.yml@main
secrets:
AVD_CACHE_VERSION: ${{secrets.AVD_CACHE_VERSION}}
build:
uses: kevalpatel2106/pocket-ci/.github/workflows/reuse_build.yml@main
house-keeping:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: PR labeler
uses: actions/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler.yml"
sync-labels: true
- name: PR size check
uses: kkohtaka/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check-run-automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
needs: [ quality, test, build ]
steps:
- name: Save the PR URL in an artifact to be reused by automerge workflow run
env:
PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
run: echo $PULL_REQUEST_URL > pull_request_url.txt
- uses: actions/[email protected]
with:
name: pull_request_url
path: ./pull_request_url.txt