Skip to content

Commit 0f74327

Browse files
committed
ci: update opencode ci
1 parent 9bf17f3 commit 0f74327

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/default-next-meetup.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
permissions:
77
contents: write
88
actions: write
9-
id-token: write
109

1110
jobs:
1211
default-next-meetup:

.github/workflows/set-next-meetup.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,26 @@ jobs:
2323
- name: Install ImageMagick
2424
run: sudo apt-get update && sudo apt-get install -y imagemagick
2525

26+
- name: Install opencode CLI
27+
env:
28+
OPENCODE_ZEN_API_KEY: ${{ secrets.OPENCODE_ZEN_API_KEY }}
29+
run: curl -fsSL https://opencode.ai/install | bash
30+
2631
- name: Run set-next-meetup skill
27-
uses: anomalyco/opencode/github@latest
2832
env:
2933
OPENCODE_ZEN_API_KEY: ${{ secrets.OPENCODE_ZEN_API_KEY }}
30-
with:
31-
model: opencode/big-pickle
32-
prompt: |
33-
Fetch the event page at ${{ inputs.meetup_link }} and extract the title, date, and start time.
34+
run: |
35+
opencode run --model opencode/big-pickle \
36+
"Fetch the event page at ${{ inputs.meetup_link }} and extract the title, date, and start time.
3437
Then download the event cover image (use highres version from og:image meta tag),
3538
convert it to public/images/homepage/NextMeetup.jpg at quality 90, note the dimensions.
3639
Build localized date strings:
37-
- Italian: e.g. "Martedì 14 luglio 2026, ore 18:30"
38-
- English: e.g. "Tuesday, 14 July 2026, 6:30 PM"
40+
- Italian: e.g. \"Martedì 14 luglio 2026, ore 18:30\"
41+
- English: e.g. \"Tuesday, 14 July 2026, 6:30 PM\"
3942
Update src/app/components/meetup/meetup.component.html with the event image,
4043
title as alt, the WIDTH/HEIGHT from identify, the date paragraph, and the event link.
41-
Add the "date" key to the nextMeetup object in public/i18n/it.json and
42-
public/i18n/en.json. Follow the exact HTML/JSON structure from these existing files.
44+
Add the \"date\" key to the nextMeetup object in public/i18n/it.json and
45+
public/i18n/en.json. Follow the exact HTML/JSON structure from these existing files."
4346
4447
- name: Commit and push changes
4548
env:

0 commit comments

Comments
 (0)