File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create Issue to Update Year In Relevant Files
2+ # developer: @RalphHightower
3+ on :
4+ schedule :
5+ - cron : " 0 5 1 1 *" # America/New_York (UTC-5:00)
6+
7+ permissions : none
8+ jobs :
9+ create_issue :
10+ name : Create issue to update copyright year
11+ runs-on : ubuntu-latest
12+ permissions :
13+ issues : write
14+ steps :
15+ - name : Happy New Year!
16+ run : |
17+ new_issue_url=$(gh issue create \
18+ --title "$TITLE" \
19+ --assignee "$ASSIGNEES" \
20+ --label "$LABELS" \
21+ --body "$BODY")
22+ if [[ $PINNED == true ]]; then
23+ gh issue pin "$new_issue_url"
24+ fi
25+ env :
26+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ GH_REPO : ${{ github.repository }}
28+ TITLE : Happy New Year – Update License Year
29+ ASSIGNEES : RalphHightower
30+ LABELS : documentation
31+ BODY : |
32+ ### New Year's Maintenance
33+
34+ - [ ] Update LICENSE. Add new year to year's span.
35+
36+ PINNED : false
37+ CLOSE_PREVIOUS : false
You can’t perform that action at this time.
0 commit comments