-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (32 loc) · 926 Bytes
/
sweep.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
name: sweep
on:
pull_request:
paths:
- .github/workflows/sweep.yml
- observe/observe_sweeper_test.go
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sweep:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- timeout-minutes: 3
run: make sweep
env:
# Environment variables for configuring the provider
OBSERVE_CUSTOMER: ${{ vars.OBSERVE_CUSTOMER }}
OBSERVE_DOMAIN: ${{ vars.OBSERVE_DOMAIN }}
OBSERVE_USER_EMAIL: ${{ vars.OBSERVE_USER_EMAIL }}
OBSERVE_USER_PASSWORD: ${{ secrets.OBSERVE_USER_PASSWORD }}
OBSERVE_WORKSPACE: ${{ vars.OBSERVE_WORKSPACE }}