Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding icons to config and fixing PR action #8

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
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:
carriewright11 marked this conversation as resolved.
Show resolved Hide resolved
gh_pat: ${{ secrets.GH_PAT }}
carriewright11 marked this conversation as resolved.
Show resolved Hide resolved

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")`