From 014d447f0cdc971a7b95ac5a9f7b4a88a1ce405c Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 20 Sep 2019 10:23:15 +0900 Subject: [PATCH] Update README --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3f77b5e..683122f 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,11 @@ This action is experimental and may not work well for repositories that have a v ## Usage -In addition to the default `GITHUB_TOKEN`, the action requires a `repo` scoped token in order to commit. -Create one [here](https://github.com/settings/tokens) and pass that as a secret to the `REPO_ACCESS_TOKEN` environment variable. - ```yml - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.1.4 + uses: peter-evans/create-pull-request@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} ``` #### Environment variables @@ -60,10 +56,9 @@ Here is an example that sets all the environment variables. ```yml - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.1.4 + uses: peter-evans/create-pull-request@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} PULL_REQUEST_BRANCH: my-patches COMMIT_MESSAGE: Auto-modify files by my-file-modifier-action PULL_REQUEST_TITLE: Changes from my-file-modifier-action