anthropics / anthropics/claude-code-action

Feature Request: Support for GitHub Actions schedule trigger

オープン
#220 コメント 3 件 リアクション 0 件 担当者 1 名 @ashwin-ant が担当を希望しています GitHub で見る
enhancement p3
主要言語
TypeScript
スター
8.9k
フォーク
2.1k
平均マージ
3日 9時間
マージ済み PR(30日)
10

説明

## Feature Request

I'd like to use Claude Code Action with GitHub Actions `schedule` triggers to enable periodic automated tasks.

## Use Case
For example, I'm thinking of using it for weekly maintenance tasks like this:

```yaml
on:
schedule:
- cron: '0 2 * * 1' # Weekly maintenance

jobs:
maintenance:
steps:
- uses: anthropics/claude-code-action@main
with:
direct_prompt: "Analyze the repository for outdated documentation and create pull requests with necessary updates"
```

This would enable:
- Automated documentation maintenance
- Periodic code quality checks
- Regular dependency reviews

## Current Behavior

Schedule triggers are not currently supported. The action fails with:

Error: Unsupported event type: schedule

## Expected Behavior

It would be great if the action could work with schedule triggers. Since schedule events don't have associated PR/issue context, perhaps using direct_prompt with a configurable output target might work well.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。