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

[docs](doc): create issue update year LICENSE #106

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all 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
37 changes: 37 additions & 0 deletions .github/workflows/NewYearUpdateCopyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Create Issue to Update Year In Relevant Files
# developer: @RalphHightower
on:
schedule:
- cron: "0 5 1 1 *" # America/New_York (UTC-5:00)

permissions: none
jobs:
create_issue:
name: Create issue to update copyright year
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Happy New Year!
run: |
new_issue_url=$(gh issue create \
--title "$TITLE" \
--assignee "$ASSIGNEES" \
--label "$LABELS" \
--body "$BODY")
if [[ $PINNED == true ]]; then
gh issue pin "$new_issue_url"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: Happy New Year – Update License Year
ASSIGNEES: RalphHightower
LABELS: documentation
BODY: |
### New Year's Maintenance

- [ ] Update LICENSE. Add new year to year's span.

PINNED: false
CLOSE_PREVIOUS: false
Loading