Skip to content

Commit 3ffe0ce

Browse files
committed
Apply latest heavy updates cleanly
1 parent deee47e commit 3ffe0ce

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/bump-versions.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ jobs:
146146
echo "Updated versions.env:"
147147
cat "$file"
148148
149+
- name: Import GPG Key
150+
uses: crazy-max/ghaction-import-gpg@v6
151+
with:
152+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
153+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
154+
git_user_signingkey: true
155+
git_commit_gpgsign: true
156+
149157
- name: Create pull request
150158
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
151159
with:

.github/workflows/codeql.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ on:
1111
- "public/**"
1212
pull_request:
1313
branches: ["main"]
14-
paths-ignore:
15-
- "README.md"
16-
- "LICENSE"
17-
- "docs/**"
18-
- "public/**"
1914
schedule:
2015
- cron: "20 4 * * 5"
2116
workflow_dispatch:
@@ -32,7 +27,7 @@ permissions:
3227
jobs:
3328
analyze:
3429
name: Analyze
35-
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
30+
if: github.event_name != 'pull_request'
3631
runs-on: ubuntu-latest
3732
timeout-minutes: 20
3833
strategy:

templates/shortcodes/projects_grid.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@
1515
{% set project_status = project.status | default(value="") %}
1616
<article class="project-card">
1717
{% if project.thumbnail_image %}
18+
{% if project.thumbnail_image is starting_with("http://") or project.thumbnail_image is starting_with("https://") %}
19+
{% set project_thumb_url = project.thumbnail_image %}
20+
{% else %}
21+
{% set project_thumb_url = get_url(path=project.thumbnail_image) | safe %}
22+
{% endif %}
1823
<a href="/projects/{{ project.slug }}/" class="block aspect-video w-full overflow-hidden rounded-md mb-3 border border-base-content/10 bg-base-300/30">
19-
<img src="{{ project.thumbnail_image }}" alt="{{ project.thumbnail_alt | default(value=project.title) }}" sizes="(min-width: 1024px) 50vw, 100vw" class="w-full h-full object-cover transition-transform duration-300 hover:scale-105" loading="lazy" width="800" height="450">
24+
<img src="{{ project_thumb_url | safe }}" alt="{{ project.thumbnail_alt | default(value=project.title) }}" sizes="(min-width: 1024px) 50vw, 100vw" class="w-full h-full object-cover transition-transform duration-300 hover:scale-105" loading="lazy" width="800" height="450">
2025
</a>
2126
{% endif %}
2227
<div class="project-card-header">

0 commit comments

Comments
 (0)