Skip to content

Commit

Permalink
testing schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Apr 9, 2024
1 parent 1791109 commit 91c2061
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/monthly-run.yaml
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 }}
Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 91c2061

Please sign in to comment.