Tweak
This commit is contained in:
@@ -95,24 +95,14 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.version.outputs.tag }}
|
tag_name: ${{ steps.version.outputs.tag }}
|
||||||
release_name: "@pullfrog/action ${{ steps.version.outputs.tag }}"
|
release_name: "${{ steps.version.outputs.tag }}"
|
||||||
body: |
|
body: |
|
||||||
## 📦 @pullfrog/action ${{ steps.version.outputs.version }}
|
## 📦 @pullfrog/action ${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
### Usage in GitHub Actions
|
### Usage in GitHub Actions
|
||||||
|
|
||||||
Use the major version tag for automatic updates:
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pullfrog/action@${{ steps.version.outputs.major_tag }}
|
- uses: pullfrog/action@${{ steps.version.outputs.major_tag }}
|
||||||
with:
|
|
||||||
message: "Your message here"
|
|
||||||
```
|
|
||||||
|
|
||||||
Or pin to this specific version:
|
|
||||||
```yaml
|
|
||||||
- uses: pullfrog/action@${{ steps.version.outputs.tag }}
|
|
||||||
with:
|
|
||||||
message: "Your message here"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation via npm
|
### Installation via npm
|
||||||
|
|||||||
+4
-1
@@ -59,7 +59,10 @@ export class ClaudeAgent implements Agent {
|
|||||||
],
|
],
|
||||||
env: { ANTHROPIC_API_KEY: this.apiKey },
|
env: { ANTHROPIC_API_KEY: this.apiKey },
|
||||||
timeout: 120000, // 2 minute timeout
|
timeout: 120000, // 2 minute timeout
|
||||||
onStdout: (chunk) => process.stdout.write(chunk),
|
onStdout: (chunk) => {
|
||||||
|
// no logs
|
||||||
|
// process.stdout.write(chunk)
|
||||||
|
},
|
||||||
onStderr: (chunk) => process.stderr.write(chunk),
|
onStderr: (chunk) => process.stderr.write(chunk),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -25714,7 +25714,8 @@ var ClaudeAgent = class {
|
|||||||
env: { ANTHROPIC_API_KEY: this.apiKey },
|
env: { ANTHROPIC_API_KEY: this.apiKey },
|
||||||
timeout: 12e4,
|
timeout: 12e4,
|
||||||
// 2 minute timeout
|
// 2 minute timeout
|
||||||
onStdout: (chunk) => process.stdout.write(chunk),
|
onStdout: (chunk) => {
|
||||||
|
},
|
||||||
onStderr: (chunk) => process.stderr.write(chunk)
|
onStderr: (chunk) => process.stderr.write(chunk)
|
||||||
});
|
});
|
||||||
if (result.exitCode !== 0) {
|
if (result.exitCode !== 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user