diff --git a/README.md b/README.md index 2cf103e..cc12fab 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Unlike standard actions, this action just uses variables from the environment. | MAINTAINER_CANT_MODIFY | Do not allow the maintainer to modify the PR | false | unset | | PULL_REQUEST_ASSIGNEES | A list (string with spaces) of users to assign | false | unset | -For `PULL_REQUEST_DRAFT` and `MAINTAINER_CAN_MODIFY`, these are treated as environment +For `PULL_REQUEST_DRAFT` and `MAINTAINER_CANT_MODIFY`, these are treated as environment booleans. If they are defined in the environment, they trigger the "true" condition. E.g.,: - Define `MAINTAINER_CANT_MODIFY` if you don't want the maintainer to be able to modify the pull request. diff --git a/examples/assignees-example.yml b/examples/assignees-example.yml index 6db7db3..6a709e9 100644 --- a/examples/assignees-example.yml +++ b/examples/assignees-example.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: pull-request-action - uses: vsoch/pull-request-action@add/assignees + uses: vsoch/pull-request-action@1.0.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH_PREFIX: "update/"