From 14dcb3b63df2bdd83e7b1b229646a151d7bae211 Mon Sep 17 00:00:00 2001 From: cansavvy Date: Fri, 1 Mar 2024 08:20:47 -0500 Subject: [PATCH 1/3] Update --- .github/sync.yml | 2 ++ .github/workflows/check-url.yml | 1 - resources/exclude_files.txt | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 resources/exclude_files.txt diff --git a/.github/sync.yml b/.github/sync.yml index bc05965ad..d7731b701 100755 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -20,6 +20,8 @@ group: dest: .github/ISSUE_TEMPLATE/course-problem-report.md - source: .github/ISSUE_TEMPLATE/course-content-add.md dest: .github/ISSUE_TEMPLATE/course-content-add.md + - source: .github/ISSUE_TEMPLATE/url-error.md + dest: .github/ISSUE_TEMPLATE/url-error-add.md - source: style-sets dest: style-sets - source: assets/box_images/ diff --git a/.github/workflows/check-url.yml b/.github/workflows/check-url.yml index 9ee7fe9a5..47df55b5d 100644 --- a/.github/workflows/check-url.yml +++ b/.github/workflows/check-url.yml @@ -84,7 +84,6 @@ jobs: env: GH_PAT: ${{ secrets.GH_PAT }} run: | - echo "$GH_PAT" echo "$GITHUB_REPOSITORY" curl -o find_issue.R https://raw.githubusercontent.com/jhudsl/ottr-reports/main/scripts/find-issue.R issue_exists=$(Rscript --vanilla find_issue.R --repo $GITHUB_REPOSITORY --git_pat $GH_PAT) diff --git a/resources/exclude_files.txt b/resources/exclude_files.txt new file mode 100644 index 000000000..cc77feed4 --- /dev/null +++ b/resources/exclude_files.txt @@ -0,0 +1,4 @@ +About.Rmd +docs/* +style-sets/* +manuscript/* From 6aedc2c1175dc831b3856b5a65d9f92353b6b23d Mon Sep 17 00:00:00 2001 From: cansavvy Date: Fri, 1 Mar 2024 08:22:07 -0500 Subject: [PATCH 2/3] Ah the dash --- .github/workflows/check-url.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-url.yml b/.github/workflows/check-url.yml index 47df55b5d..e3f264516 100644 --- a/.github/workflows/check-url.yml +++ b/.github/workflows/check-url.yml @@ -85,7 +85,7 @@ jobs: GH_PAT: ${{ secrets.GH_PAT }} run: | echo "$GITHUB_REPOSITORY" - curl -o find_issue.R https://raw.githubusercontent.com/jhudsl/ottr-reports/main/scripts/find-issue.R + curl -o find_issue.R https://raw.githubusercontent.com/jhudsl/ottr-reports/main/scripts/find_issue.R issue_exists=$(Rscript --vanilla find_issue.R --repo $GITHUB_REPOSITORY --git_pat $GH_PAT) echo URL issue exists: $issue_exists echo "issue_existence=$issue_exists" >> $GITHUB_OUTPUT From 521d5019ba16339bf11edfcce14bfcb9da3c3b7a Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Fri, 1 Mar 2024 08:24:13 -0500 Subject: [PATCH 3/3] add exclude_files.txt to sync --- .github/sync.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/sync.yml b/.github/sync.yml index d7731b701..da2d0b7bf 100755 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -21,11 +21,13 @@ group: - source: .github/ISSUE_TEMPLATE/course-content-add.md dest: .github/ISSUE_TEMPLATE/course-content-add.md - source: .github/ISSUE_TEMPLATE/url-error.md - dest: .github/ISSUE_TEMPLATE/url-error-add.md + dest: .github/ISSUE_TEMPLATE/url-error.md - source: style-sets dest: style-sets - source: assets/box_images/ dest: assets/box_images/ + - source: resources/exclude_files.txt + dest: resources/exclude_files.txt # Repositories to receive changes repos: | jhudsl/Documentation_and_Usability