Skip to content

Commit

Permalink
testing Create PR and Issue step
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Apr 9, 2024
1 parent 7c37bc9 commit a8f579f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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: '* 15 9 * *'
- cron: '20 15 9 * *'

jobs:
monthly-run:
Expand Down Expand Up @@ -47,13 +47,13 @@ jobs:
- name: Create PR and issue
run: |
git diff --quiet -- data/ \
&& pr_url=$(gh pr create \
git diff --quiet -- data/ && pr_url=$(gh pr create \
--repo ${{ github.repository }} \
--assignee "$ASSIGNEES" \
--title "Monthly LCSH check ($DATE)" \
--body "$PR_NO_ADD") \
|| new_issue_url=$(gh issue create \
git diff --quiet -- data/ || new_issue_url=$(gh issue create \
--title "$TITLE" \
--assignee "$ASSIGNEES" \
--body "$ISSUE_BODY") \
Expand Down

0 comments on commit a8f579f

Please sign in to comment.