-
Notifications
You must be signed in to change notification settings - Fork 8
44 lines (39 loc) · 1.26 KB
/
monthly.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
name: Monthly
on:
schedule:
- cron: 0 6 15 * *
jobs:
create_issue:
name: Create invoice issue for COR
runs-on: ubuntu-latest
permissions:
issues: write
steps:
# https://stackoverflow.com/a/60942437/358804
- name: Get dates
id: date
run: |
echo "::set-output name=current::$(date +'%m/%y')"
echo "::set-output name=due::$(date -d '+15 days' +'%m/%d/%y')"
- name: Create issue
uses: imjohnbo/issue-bot@v3
with:
assignees: jjediny, ethanheppner, rocheller123, mtaylor-gsa
labels: "g: accepted, m: due date, i: COR"
title: process invoices for ${{ steps.date.outputs.current }} - due ${{ steps.date.outputs.due }}
body: |
### Implementation steps
Confirm usage and route invoices to Contracting Officer (CO) for:
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ] Zendesk
- [ ] Airtable
- [ ] Mural
- [ ] New Relic
### Acceptance criteria
- [ ] All invoices routed
pinned: false
close-previous: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}