forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 922 Bytes
/
scheduled-pr-reminders.yml
File metadata and controls
31 lines (28 loc) · 922 Bytes
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
name: scheduled-pr-reminders
permissions: read-all
on:
schedule:
- cron: '37 9 * * 1-5'
jobs:
send-pr-reminders:
if: github.repository == 'GoogleCloudPlatform/magic-modules'
runs-on: ubuntu-22.04
permissions:
pull-requests: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '^1.24'
# Disable caching for now due to issues with large provider dependency caches
cache: false
- name: Build magician
run: |
cd .ci/magician
go build .
- name: Request reviewer
run: .ci/magician/magician scheduled-pr-reminders ${{ github.event.pull_request.number }}