-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1791109
commit 91c2061
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: monthly lcsh check | ||
on: | ||
schedule: | ||
- cron: '40/5 * 9 * *' | ||
- cron: '* 9 10 * *' | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
|
@@ -24,7 +24,7 @@ jobs: | |
python -m pip install -r requirements.txt | ||
- name: Create branch | ||
run: git checkout -b monthly_check_$(date "+%Y%m%d-%H-%M-%S") | ||
run: git checkout -b monthly_check_$(date "+%Y%m%d-%H-%M") | ||
|
||
- name: Run script | ||
run: | | ||
|
@@ -36,8 +36,8 @@ jobs: | |
git config user.email "[email protected]" | ||
git add lcsh.log | ||
git add data/* | ||
git commit -a -m "LCSH Check $(date "+%Y%m%d-%H-%M-%S")" | ||
git push --set-upstream origin monthly_check_$(date "+%Y%m%d-%H-%M-%S") | ||
git commit -a -m "LCSH Check $(date "+%Y%m%d-%H-%M")" | ||
git push --set-upstream origin monthly_check_$(date "+%Y%m%d-%H-%M") | ||
- name: Parse changes | ||
run: | | ||
|
@@ -55,7 +55,7 @@ jobs: | |
gh pr create \ | ||
--repo ${{ github.repository }} \ | ||
--assignee "$ASSIGNEES" \ | ||
--title "Monthly LCSH check ($(date "+%Y%m%d-%H-%M-%S"))" \ | ||
--title "Monthly LCSH check ($(date "+%Y%m%d-%H-%M"))" \ | ||
--body "$PR_BODY") | ||
- name: Create Issue | ||
|