diff --git a/README.md b/README.md index e7203fa..18e8f20 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ You will need to provide the GitHub App ID and private key. The action will then with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} + # scope: '' # The scope for the returned token. the owner of the repo (org or account) uses current repository owner by default - name: Checkout private repo uses: actions/checkout@v2 diff --git a/action.yml b/action.yml index 5d1c149..bb2834e 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: scope: required: false description: 'Scope of installation account' - default: '' + default: '${{ github.repository_owner }}' outputs: token: description: 'Github Token for App installation'