From 304824b43eb10d875d2f010172d5c2a8cad5a7c6 Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Tue, 2 Aug 2022 19:42:53 -0400 Subject: [PATCH 1/2] feat: auto detect default `github_token` --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 5372cbd..bb686ad 100644 --- a/action.yml +++ b/action.yml @@ -42,6 +42,7 @@ inputs: github_token: description: GitHub token secret required: true + default: ${{ github.token }} outputs: pr_url: description: 'Pull request URL' From bd44ea657390fdf57509ba8e2c2baec806410c43 Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Tue, 2 Aug 2022 19:49:18 -0400 Subject: [PATCH 2/2] docs: update github_token docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e12410..09c9d4f 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ jobs: pr_milestone: "Milestone 1" # Milestone name pr_draft: true # Creates pull request as draft pr_allow_empty: true # Creates pull request even if there are no changes - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.CUSTOM_GH_TOKEN }} # If blank, default: secrets.GITHUB_TOKEN ``` ### Outputs