-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 1.16 KB
/
create-release-issue.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
name: Create reminder issue for buildpack releases
on:
schedule:
- cron: '54 3 * * MON' # every Monday at 3:54am UTC
workflow_dispatch: {}
jobs:
reminder:
name: Reminder
runs-on: ubuntu-22.04
steps:
- name: Get Month
id: date
run: |
echo "day_of_month=$(date +'%b %d')" >> "${GITHUB_OUTPUT}"
- name: File Issue
id: file-issue
uses: initializ-buildpacks/github-config/actions/issue/file@main
with:
token: ${{ secrets.PAT }}
repo: ${{ github.repository }}
issue_title: "Week of ${{ steps.date.outputs.day_of_month }}: Cut buildpack releases"
issue_body: ""
- name: Add issue to project
id: issue-to-proj
uses: initializ-buildpacks/github-config/actions/issue/add-to-project@main
with:
# Initializ buildpacks project -https://github.com/orgs/initializ-buildpacks/projects/20
project-org: initializ-buildpacks
project-num: 20
field-name: Workstream
option-name: Buildpack Releases
issue-node-id: ${{ steps.file-issue.outputs.node-id }}
token: ${{ secrets.PAT }}