-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:nf-core/website into migrate-redirects
# Conflicts: # package.json
- Loading branch information
Showing
48 changed files
with
102,503 additions
and
93,112 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,14 @@ jobs: | |
build-component-json: | ||
runs-on: ubuntu-latest | ||
environment: static-file-build | ||
if: (github.event_name == 'schedule' && github.repository == 'nf-core/website') || (github.event_name != 'schedule') | ||
|
||
steps: | ||
# Set up the main website repo | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Don't do a shallow clone | ||
token: ${{secrets.NF_CORE_BOT_AUTH_TOKEN}} # Needed for pushing back to the repo | ||
|
||
# install npm dependencies | ||
- name: Set up node.js | ||
|
@@ -71,11 +73,13 @@ jobs: | |
# Commit and push the changes if there are not too many lines changed | ||
- name: Commit and push changes | ||
if: ${{ !steps.check_lines.outputs.changes }} | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
default_author: user_info | ||
author_name: nf-core-bot | ||
author_email: [email protected] | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "nf-core-bot" | ||
git config push.default upstream | ||
git status | ||
git diff --quiet || (git commit -am "[automated] Update json files and markdown cache" && git push) | ||
# Create a PR if there are too many lines changed | ||
- name: Create PR with changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: 'v3.0.0' | ||
rev: 'v2.7.1' | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- prettier@3.0.0 | ||
- prettier-plugin-svelte@^3.0.0 | ||
- prettier-plugin-astro@^0.11.0 | ||
- prettier@2.7.1 | ||
- prettier-plugin-svelte@^2.7.1 | ||
- prettier-plugin-astro@^0.10.0 | ||
args: [--plugin=prettier-plugin-svelte, --plugin=prettier-plugin-astro] | ||
files: \.(astro|svelte)$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.