diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 147baad..78132ff 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -12,4 +12,4 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ github.event.pull_request.number }} - lock_reason: resolved + lock-reason: resolved diff --git a/README.md b/README.md index 968550d..e7b9811 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,5 @@ This action locks a pull-request with: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ github.event.pull_request.number }} - lock_reason: resolved + lock-reason: resolved ``` diff --git a/action.yml b/action.yml index bd26e7c..6e7452a 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: number: description: "Pull Request number" required: true - lock_reason: + lock-reason: description: "The lock reason: off-topic,too heated,resolved,spam" default: "resolved" branding: