-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (40 loc) · 1.26 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
name: CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# 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: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_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: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_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]'