Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cc56089a41 |
@@ -40481,7 +40481,7 @@ function query({
|
|||||||
// package.json
|
// package.json
|
||||||
var package_default = {
|
var package_default = {
|
||||||
name: "@pullfrog/action",
|
name: "@pullfrog/action",
|
||||||
version: "0.0.94",
|
version: "0.0.95",
|
||||||
type: "module",
|
type: "module",
|
||||||
files: [
|
files: [
|
||||||
"index.js",
|
"index.js",
|
||||||
@@ -41560,10 +41560,6 @@ async function run() {
|
|||||||
log.debug(`New working directory: ${process.cwd()}`);
|
log.debug(`New working directory: ${process.cwd()}`);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const githubTokenInput = core3.getInput("github_token");
|
|
||||||
if (githubTokenInput) {
|
|
||||||
process.env.GITHUB_TOKEN = githubTokenInput;
|
|
||||||
}
|
|
||||||
const inputs = {
|
const inputs = {
|
||||||
prompt: core3.getInput("prompt", { required: true }),
|
prompt: core3.getInput("prompt", { required: true }),
|
||||||
anthropic_api_key: core3.getInput("anthropic_api_key") || void 0
|
anthropic_api_key: core3.getInput("anthropic_api_key") || void 0
|
||||||
|
|||||||
@@ -18,12 +18,6 @@ async function run(): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Set GITHUB_TOKEN from input if provided (allows fallback to env var)
|
|
||||||
const githubTokenInput = core.getInput("github_token");
|
|
||||||
if (githubTokenInput) {
|
|
||||||
process.env.GITHUB_TOKEN = githubTokenInput;
|
|
||||||
}
|
|
||||||
|
|
||||||
const inputs: Inputs = {
|
const inputs: Inputs = {
|
||||||
prompt: core.getInput("prompt", { required: true }),
|
prompt: core.getInput("prompt", { required: true }),
|
||||||
anthropic_api_key: core.getInput("anthropic_api_key") || undefined,
|
anthropic_api_key: core.getInput("anthropic_api_key") || undefined,
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pullfrog/action",
|
"name": "@pullfrog/action",
|
||||||
"version": "0.0.94",
|
"version": "0.0.95",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user