Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bo Anderson <mail@boanderson.me>
  • Loading branch information
ZhongRuoyu and Bo98 authored Sep 20, 2024
1 parent 42a7fa0 commit b1b9bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion create-or-update-issue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ closing it based on the outcome of a previous step.
## Usage

```yaml
- uses: Homebrew/actions/create-issue@master
- uses: Homebrew/actions/create-or-update-issue@master
with:
token: ${{ github.token }} # defaults to this
repository: ${{ github.repository }} # defaults to this
Expand Down
4 changes: 2 additions & 2 deletions create-or-update-issue/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ async function main() {
const assigneesInput = core.getInput("assignees");
const assignees = assigneesInput ? assigneesInput.split(",") : [];

const updateExisting = core.getInput("update-existing") === "true";
const closeExisting = core.getInput("close-existing") === "true";
const updateExisting = core.getBooleanInput("update-existing");
const closeExisting = core.getBooleanInput("close-existing");

const client = github.getOctokit(token);

Expand Down

0 comments on commit b1b9bf7

Please sign in to comment.