-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (46 loc) · 1.47 KB
/
ci.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
name: CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.FRECKLE_AUTOMATION_APP_ID }}
private-key: ${{ secrets.FRECKLE_AUTOMATION_PRIVATE_KEY }}
repositories: megarepo
# Run once with settings that are sure to find nothing (this repository
# has nothing being kept up to date).
- uses: ./
with:
dry-run: 1
# Run again with settings that are sure to find something (this repository
# is really active and should always have open dependabot PRs).
- uses: ./
with:
quarantine-days: -1
github-token: ${{ steps.token.outputs.token }}
github-repository: freckle/megarepo
dry-run: 1
# Run again exercising exclude-title-regex
- uses: ./
with:
exclude-title-regex: 'in /qa$'
quarantine-days: -1
github-token: ${{ steps.token.outputs.token }}
github-repository: freckle/megarepo
dry-run: 1
# Run as if we were a Dependabot-PR, so we can see the comment
- uses: ./
with:
remove-reviewers: false
github-actor: 'dependabot[bot]'
# And test the when-message conditional
- uses: ./
with:
quarantine-days: -1
remove-reviewers: false
github-actor: 'dependabot[bot]'