Skip to content

Commit

Permalink
Merge pull request #8 from jhudsl/config
Browse files Browse the repository at this point in the history
adding icons to config and fixing PR action
  • Loading branch information
carriewright11 authored Feb 13, 2025
2 parents 051fb38 + d7ca416 commit 45723dc
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
with:
check_type: spelling
error_min: 3
gh_pat: secrets.GH_PAT
secrets:
gh_pat: ${{ secrets.GH_PAT }}

url-check:
name: Check URLs
Expand All @@ -69,7 +70,8 @@ jobs:
with:
check_type: urls
error_min: 0
gh_pat: secrets.GH_PAT
secrets:
gh_pat: ${{ secrets.GH_PAT }}

render-preview:
name: Render preview
Expand Down
13 changes: 13 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
default:
actions: "<img src='resources/icons/actions.png' alt='actions icon' class = icon>"
collab: "<img src='resources/icons/collaborator.png' alt='collaborator icon' class = icon>"
copy: "<img src='resources/icons/copy.png' alt='copy icon' class = icon>"
dev: "<img src='resources/icons/developer_settings.png' alt='developer settings icon' class = icon>"
edit: "<img src='resources/icons/edit.png' alt='edit icon' class = icon>"
pages: "<img src='resources/icons/pages.png' alt='pages icon' class = icon>"
PR: "<img src='resources/icons/pull_request.png' alt='pull request icon' class = icon>"
profile: "<img src='resources/icons/profile_photo.png' alt='profile photo icon' class = icon>"
token: "<img src='resources/icons/personal_tokens.png' alt='personal access token icon' class = icon>"
search: "<img src='resources/icons/search.png' alt='search icon' class = icon>"
secrets: "<img src='resources/icons/secrets_and_variables.png' alt='secrets and variables icon' class = icon>"
settings: "<img src='resources/icons/settings_gear.png' alt='settings gear icon' class = icon>"
26 changes: 26 additions & 0 deletions course_setup.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,29 @@ css: style.css
<input type="checkbox"> In the upper right, _click on_: <div class = "github_button"><a href="https://github.com/new?template_name=OTTR_Template&template_owner=jhudsl"> Use this template</a></div>

<input type="checkbox"> Set your repo to **Public**


`r config::get("actions")`

`r config::get("copy")`

`r config::get("collab")`

`r config::get("dev")`

`r config::get("edit")`

`r config::get("pages")`

`r config::get("token")`

`r config::get("profile")`

`r config::get("PR")`

`r config::get("search")`

`r config::get("secrets")`

`r config::get("settings")`

0 comments on commit 45723dc

Please sign in to comment.