Skip to content

jjleng/copilot-more: $10/month GPT-4o and Claude-3.5-Sonnet APIs for coding and beyond. #5118

jjleng/copilot-more: $10/month GPT-4o and Claude-3.5-Sonnet APIs for coding and beyond.

jjleng/copilot-more: $10/month GPT-4o and Claude-3.5-Sonnet APIs for coding and beyond. #5118

name: Run Script
on:
issues:
types: [opened, labeled]
jobs:
auto-reply:
runs-on: self-hosted
if: github.event.label.name == 'run_1'
permissions:
issues: write
steps:
- name: Run Script
run: echo "$(uname -a)" | tee script-output.txt
- name: Post Comment
uses: actions/[email protected]
with:
script: |
const fs = require('fs');
const issue_number = context.issue.number;
const scriptOutput = fs.readFileSync('script-output.txt', 'utf8').trim();
github.issues.createComment({...context.repo, issue_number, body: scriptOutput});