Skip to content

Commit c9ae4a3

Browse files
committed
Merge branch 'main' into temp2
2 parents 8649fe2 + e493512 commit c9ae4a3

File tree

369 files changed

+307844
-1407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

369 files changed

+307844
-1407
lines changed

.devcontainer/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Devcontainer metadata reference: https://containers.dev/implementors/json_reference://containers.dev/implementors/json_reference/

.devcontainer/devcontainer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"forwardPorts": [4000],
3+
4+
"portsAttributes": {
5+
"4000": {
6+
"label": "GTN preview",
7+
"onAutoForward": "openPreview"
8+
}
9+
},
10+
11+
"onCreateCommand": "rm -rf /workspaces/.codespaces/shared/editors/jetbrains",
12+
13+
"hostRequirements": {
14+
"cpus": 4,
15+
"memory": "16gb",
16+
"storage": "32gb"
17+
},
18+
19+
"customizations": {
20+
"codespaces": {
21+
"openFiles": [
22+
".devcontainer/welcome-message.txt"
23+
]
24+
}
25+
}
26+
27+
28+
}

.devcontainer/welcome-message.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
👋 Welcome to GTN in CodeSpaces!
2+
3+
🗃️ On the left, you see all the files in the GTN. Tutorials can be found inside
4+
the topics folder.
5+
6+
🔍 To get a preview of the GTN website, run "make preview" (without the quotes)
7+
in the terminal (bottom panel of your screen)
8+
9+
📝 For more information about using this environment, see our GTN tutorial:
10+
https://training.galaxyproject.org/topics/contributing/tutorials/running-codespaces/tutorial.html
11+

.github/workflows/ci-main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 1
31+
persist-credentials: false
3132

3233
- uses: reviewdog/action-setup@v1
3334
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 1
20+
persist-credentials: false
2021

2122
# BEGIN Dependencies
2223
- uses: actions/setup-python@v5

.github/workflows/cron-commit-cache.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
name: "[Cron] Update Commit Cache"
1+
name: "[Cron] Update Commit Cache, PR Data"
22
on:
33
workflow_dispatch:
44
schedule:
55
- cron: '45 0 * * 1'
66
jobs:
77
runner-job:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
pull-requests: write
912
# Only run on main repo on and PRs that match the main repo.
1013
if: |
1114
github.repository == 'galaxyproject/training-material' &&
@@ -15,6 +18,7 @@ jobs:
1518
- uses: actions/checkout@v4
1619
with:
1720
fetch-depth: 1000
21+
persist-credentials: false
1822

1923
# BEGIN Dependencies
2024
- uses: ruby/setup-ruby@v1
@@ -54,9 +58,16 @@ jobs:
5458
run: |
5559
bundle exec ruby bin/geocode.rb
5660
61+
- name: Update github metadata dataset
62+
id: ghmeta
63+
run: |
64+
bundle exec ruby bin/collect-gh.rb
65+
env:
66+
GH_TOKEN: ${{ github.token }}
67+
5768
- name: Create Pull Request
5869
# If it's not a Pull Request then commit any changes as a new PR.
59-
uses: peter-evans/create-pull-request@v3
70+
uses: peter-evans/create-pull-request@v7
6071
with:
6172
title: Update Cached Commit Data
6273
branch-suffix: timestamp

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
# 3rd Qu.: 94.0
2929
# Max. :282.0
3030
fetch-depth: 400
31+
persist-credentials: false
3132

3233
# BEGIN Dependencies
3334
- uses: actions/setup-python@v5

.github/workflows/docker-build.yaml

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

0 commit comments

Comments
 (0)