-
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
c20ab7f
commit 5c0e940
Showing
6 changed files
with
24 additions
and
72 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 |
---|---|---|
|
@@ -11,7 +11,10 @@ on: | |
# - chron: * 9 1 * * | ||
jobs: | ||
monthly-run: | ||
name: Run monthly LCSH check | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -33,11 +36,26 @@ jobs: | |
run: python monthly_lcsh_check.py | ||
|
||
|
||
- name: Create issue | ||
run: | | ||
new_issue_url=$(gh issue create \ | ||
--title "$TITLE" \ | ||
--assignee "$ASSIGNEES" \ | ||
--body "$BODY") | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
TITLE: LCSH changed | ||
ASSIGNEES: charlottekostelic | ||
BODY: | | ||
### Changed: | ||
+ Updated list of terms in: data/acc_in.csv | ||
+ See data/lcsh.log for lists of changed and deprecated terms | ||
- name: Commit and push changed files | ||
run: | ||
git config --global user.name "Charlotte Kostelic" | ||
git config --global user.email "[email protected]" | ||
git add data/* | ||
git commit -a -m "Monthly LCSH Check" | ||
git push | ||
git request-pull | ||
git push |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2024-04-08 12:41:27,016 - INFO - Checking id.loc.gov | ||
2024-04-08 12:41:27,016 - INFO - No changes to ACC terms this month. | ||
2024-04-08 12:41:27,016 - INFO - Updated list of current terms is in data/acc_out.csv |
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