diff --git a/action.yml b/action.yml index af01f28..9b4553a 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ runs: using: 'docker' image: 'Dockerfile' inputs: - github-token: + github_token: description: 'GitHub token for GitHub API requests' required: true default: ${{ github.token }} diff --git a/src/action.js b/src/action.js index 6cc282d..8185e20 100644 --- a/src/action.js +++ b/src/action.js @@ -54,7 +54,7 @@ async function getChangedFiles() { }); console.log(response); - + if (response.status !== "200") { return ['.']; }