Skip to content

Commit cfc8a0f

Browse files
pre-commit-ci[bot]lwjohnst86
authored andcommitted
chore(pre-commit): ✏️ automatic fixes
1 parent 7519844 commit cfc8a0f

File tree

14 files changed

+28
-29
lines changed

14 files changed

+28
-29
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ exhaustive, and do not form part of our licenses.
4949
such as asking that all changes be marked or described.
5050
Although not required by our licenses, you are encouraged to
5151
respect those requests where reasonable. More considerations
52-
for the public:
52+
for the public:
5353
wiki.creativecommons.org/Considerations_for_licensees
5454

5555
=======================================================================

guides/adding-posts.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,26 @@ Regardless, in both routes the steps are:
8181
the commands to run for that:
8282

8383
``` bash
84-
# Create and move to a new branch.
85-
# Call the branch any name you want,
84+
# Create and move to a new branch.
85+
# Call the branch any name you want,
8686
# I'll use the `adding-new-post`.
8787
git checkout -b adding-new-post
8888
# Replace `NEW_FILE` with the actual name of the file
89-
git add NEW_FILE
89+
git add NEW_FILE
9090
# Add a short message about what you are committing
9191
git commit -m "New post about BRIEF_DESCRIPTION"
9292
# Push the changes up to GitHub
9393
git push origin adding-new-post
9494
# Switch to the main branch
9595
git checkout main
9696
```
97-
97+
9898
After pushing up the GitHub, you will need to go to the
9999
repository and create a new Pull Request from your newly pushed
100100
branch.
101-
101+
102102
- No matter if you want to add a file directly on GitHub or via the command line, you can find more guidance in the [GitHub Docs](https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository).
103-
103+
104104

105105
6. You are all done! That's it :smile:
106106

guides/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ listing:
55
contents: .
66
type: default
77
sort: "title"
8-
fields:
8+
fields:
99
- "title"
1010
- "author"
1111
- "description"

images/home.svg

Lines changed: 1 addition & 1 deletion
Loading

index.qmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ about:
1212
---
1313

1414
## Image from [Freepik](https://www.freepik.com) {.appendix}
15-

learn/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ listing:
55
contents: shorts
66
type: default
77
sort: "title"
8-
fields:
8+
fields:
99
- "title"
1010
- "author"
1111
- "description"

learn/shorts/_template.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: |
55
author: ""
66
date: ""
77
# date-modified: ""
8-
categories:
8+
categories:
99
- text
1010
---
1111

learn/shorts/intro-gh-actions.qmd

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: "An brief introduction to automation using GitHub Actions"
33
description: |
4-
The GitHub Actions feature is a powerful way of running code or a series of tasks on an
4+
The GitHub Actions feature is a powerful way of running code or a series of tasks on an
55
independent and fresh computing environment. You can use these to
66
automate tasks, run tasks on a schedule, test your code, or perform any number
77
of tasks that you'd rather have a computer handle instead of doing manually.
88
author: "Luke W. Johnston"
99
date: "2024-05-21"
1010
# date-modified: ""
11-
categories:
11+
categories:
1212
- github actions
1313
- automation
1414
- servers
@@ -88,7 +88,7 @@ has to be kept in the `.github/workflows/` folder of the repository and
8888
the file must be a [YAML](https://en.wikipedia.org/wiki/YAML) file
8989
(ending in `.yml` or `.yaml`):
9090

91-
```
91+
```
9292
reponame/
9393
└── .github/
9494
└── workflows/
@@ -296,7 +296,7 @@ repository, we need to give the workflow some permissions to be able to
296296
write to that branch. We'll add that by using the `permissions` section:
297297

298298
``` yaml
299-
permissions:
299+
permissions:
300300
contents: write
301301
pages: write
302302
```
@@ -356,12 +356,12 @@ second version `v2`). Lastly, we want to run Quarto to build the website
356356
and publish it to the `gh-pages` branch:
357357

358358
``` yaml
359-
- name: Publish to GitHub Pages (and render)
359+
- name: Publish to GitHub Pages (and render)
360360
uses: quarto-dev/quarto-actions/publish@v2
361361
with:
362362
target: gh-pages
363363
env:
364-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
364+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
365365
```
366366

367367
Because we will be saving the built website to the `gh-pages` branch, we
@@ -386,7 +386,7 @@ on:
386386
push:
387387
branches:
388388
- main
389-
permissions:
389+
permissions:
390390
contents: write
391391
pages: write
392392
jobs:
@@ -397,12 +397,12 @@ jobs:
397397
uses: actions/checkout@v4
398398
- name: Set up Quarto
399399
uses: quarto-dev/quarto-actions/setup@v2
400-
- name: Publish to GitHub Pages (and render)
400+
- name: Publish to GitHub Pages (and render)
401401
uses: quarto-dev/quarto-actions/publish@v2
402402
with:
403403
target: gh-pages
404404
env:
405-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
405+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
406406
```
407407

408408
With these few lines of code, we now have a GitHub Actions workflow that

learn/shorts/python-packaging-basics.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |
66
author: Luke W. Johnston
77
date: 2023-07-25
88
# date-modified: ""
9-
categories:
9+
categories:
1010
- python
1111
- packaging
1212
- introduction
@@ -70,7 +70,7 @@ files that look a bit like this:
7070

7171
<!-- Created with: https://tree.nathanfriend.io/ -->
7272

73-
```
73+
```
7474
packagename/
7575
├── packagename/
7676
│ ├── ___init___.py

posts/fair-impact-roadshow-dk/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Experiences from the FAIR-IMPACT National Roadshow in Denmark"
33
description: "An online event to showcase FAIR activities happening across European Union countries."
4-
author:
4+
author:
55
- "Luke W. Johnston"
66
- "Kristiane Beicher"
77
date: "2024-10-28"

posts/github-intro-tvaers-2025/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "GitHub presentation for Tværs Gruppemøde, April 2025"
33
description: "A presentation introducing GitHub and what it can be used for in a research context. Presented at the Tværs Gruppemøde in April 2025."
4-
author:
4+
author:
55
- "Signe Kirk Brødbæk"
66
date: "2025-04-28"
77
categories:
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

posts/github-intro-tvaers-2025/slides.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Introduction to GitHub"
33
subtitle: "Tværs Gruppemøde, April 2025"
44
author: "Signe Kirk Brødbæk"
5-
format:
5+
format:
66
revealjs:
77
theme: default
88
slide-number: true
@@ -66,7 +66,7 @@ I spend 95 % of my work time using GitHub :raised_hands:
6666
- Website: At its core, it's a website. If you open up your browser
6767
and type in "GitHub.com", you will be taken to GitHub
6868
- Stores files: GitHub is a place where you can store and share files
69-
related to a project, like a website, in a "repository" (meaning "storage" or "place to keep things", in Danish: "opbevare").
69+
related to a project, like a website, in a "repository" (meaning "storage" or "place to keep things", in Danish: "opbevare").
7070
- A repository is like a folder on your computer, but instead of being on your
7171
computer, it's on the internet. You can access it from anywhere with
7272
an internet connection.

0 commit comments

Comments
 (0)