Skip to content

Default Next Meetup

Default Next Meetup #5

name: Default Next Meetup
on:
workflow_dispatch:
permissions:
contents: write
actions: write
id-token: write
jobs:
default-next-meetup:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run default-next-meetup skill
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
prompt: "/default-next-meetup"
claude_args: '--allowedTools "Bash,Read,Edit,Write,Glob,Grep"'
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
if [ -n "$(git status --porcelain)" ]; then
git add -A
git commit -m "chore: reset next meetup to default"
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "HEAD:${GITHUB_REF_NAME}"
gh workflow run deploy.yml --ref "${GITHUB_REF_NAME}"
else
echo "No changes to commit"
fi