Create reminder issue for buildpack releases #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |