Skip to content

Commit af00a8c

Browse files
author
jhudsl-robot
committed
🔄 Synced local '.github/workflows/' with remote '.github/workflows/'
release-renderAction
1 parent 7c543f5 commit af00a8c

6 files changed

Lines changed: 93 additions & 553 deletions

File tree

.github/workflows/check-url.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
url-check:
2727
name: Check URLs
2828
needs: set-up
29-
if: ${{needs.set-up.outputs.toggle_url_check_periodically == 'yes'}}
29+
if: ${{needs.set-up.outputs.toggle_url_check_periodically == 'true'}}
3030
runs-on: ubuntu-latest
3131
container:
3232
image: jhudsl/base_ottr:main
@@ -54,7 +54,7 @@ jobs:
5454
shell: bash
5555

5656
- name: Run the check
57-
uses: jhudsl/ottr-reports@main
57+
uses: ottrproject/ottr-reports@main
5858
id: check_results
5959
continue-on-error: true
6060
with:
@@ -79,13 +79,23 @@ jobs:
7979
echo ${{ steps.check-report.outputs.error_url }}
8080
echo ${{ steps.check-report.outputs.error_num }}
8181
82+
# Commit file
83+
- name: Commit spell check file
84+
if: ${{ steps.check-report.outputs.error_num >= 1 }}
85+
env:
86+
GH_PAT: ${{ secrets.GH_PAT }}
87+
run: |
88+
git add --force check_reports/url_checks.tsv
89+
git commit -m 'Add spell check file' || echo "No changes to commit"
90+
git push --set-upstream origin preview-spell-error || echo echo branch exists remotely
91+
8292
- name: Find issues
8393
id: find-issue
8494
env:
8595
GH_PAT: ${{ secrets.GH_PAT }}
8696
run: |
8797
echo "$GITHUB_REPOSITORY"
88-
curl -o find_issue.R https://raw.githubusercontent.com/jhudsl/ottr-reports/main/scripts/find_issue.R
98+
curl -o find_issue.R https://raw.githubusercontent.com/ottrproject/ottr-reports/main/scripts/find_issue.R
8999
issue_exists=$(Rscript --vanilla find_issue.R --repo $GITHUB_REPOSITORY --git_pat $GH_PAT)
90100
echo URL issue exists: $issue_exists
91101
echo "issue_existence=$issue_exists" >> $GITHUB_OUTPUT

.github/workflows/docker-build.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

.github/workflows/docker-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
4646
- name: Login as jhudsl-robot
4747
run: |
48-
git config --system --add safe.directory "$GITHUB_WORKSPACE"
4948
git config --local user.email "itcrtrainingnetwork@gmail.com"
5049
git config --local user.name "jhudsl-robot"
5150

0 commit comments

Comments
 (0)