1010
1111permissions :
1212 contents : write
13- actions : write
14- id-token : write
1513
1614jobs :
1715 set-next-meetup :
@@ -20,24 +18,28 @@ jobs:
2018 - name : Checkout
2119 uses : actions/checkout@v4
2220
23- - name : Setup Node.js
24- uses : actions/setup-node@v4
25- with :
26- node-version : 22
27- cache : npm
28-
29- - name : Install dependencies
30- run : npm ci
31-
3221 - name : Install ImageMagick
3322 run : sudo apt-get update && sudo apt-get install -y imagemagick
3423
3524 - name : Run set-next-meetup skill
36- uses : anthropics/claude-code-action@v1
25+ uses : anomalyco/opencode/github@latest
26+ env :
27+ OPENCODE_ZEN_API_KEY : ${{ secrets.OPENCODE_ZEN_API_KEY }}
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3729 with :
38- claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
39- prompt : " /set-next-meetup ${{ inputs.meetup_link }}"
40- claude_args : ' --allowedTools "Bash,Read,Edit,Write,WebFetch,Glob,Grep"'
30+ model : opencode/big-pickle
31+ use_github_token : true
32+ prompt : |
33+ Fetch the event page at ${{ inputs.meetup_link }} and extract the title, date, and start time.
34+ Then download the event cover image (use highres version from og:image meta tag),
35+ convert it to public/images/homepage/NextMeetup.jpg at quality 90, note the dimensions.
36+ 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"
39+ Update src/app/components/meetup/meetup.component.html with the event image,
40+ 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.
4143
4244 - name : Commit and push changes
4345 env :
0 commit comments