Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS-Team - POAM: Use dynamic date in issue creation #457

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/POAM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,30 @@ jobs:
permissions:
issues: write
steps:
- name: Dynamically set DATE environment variable
run: echo "DATE=$(date '+%B %Y')" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

Outputs December 2024

- name: Create monthly POAM issue
run: |
new_issue_url=$(gh issue create \
--title "$TITLE" \
--assignee "$ASSIGNEES" \
--label "$LABELS" \
--body "$BODY")

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: POAM - [MONTH] '24
LABELS: "Role: Dev,Type: Task"
TITLE: POAM - ${{ env.DATE }}
LABELS: "Role: Dev,Type: Task,Status: Triage"
BODY: |
# Summary

POAM for [MONTH] 2024
POAM update tracker for ${{ env.DATE }}
mahoneycm marked this conversation as resolved.
Show resolved Hide resolved

- [ ] USWDS
- [ ] USWDS-Site
- [ ] USWDS-Sandbox
- [ ] USWDS-Next
- [ ] Web-Components
- [ ] USWDS-Compile
- [ ] USWDS-Sandbox
- [ ] USWDS-Tutorial
- [ ] Public Sans