From c3a7ec260e0c72c7c7155a5ae6c5913cc34560a8 Mon Sep 17 00:00:00 2001 From: vsoch Date: Wed, 18 Mar 2020 15:51:49 -0600 Subject: [PATCH] update version of example Signed-off-by: vsoch --- README.md | 2 +- examples/assignees-example.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/"