You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the latest README and followed the instructions.
I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
The README clearly outlines the ability to use GITHUB_TOKEN, a deploy key, or SSH key for deploying. I'm wondering if I could use a short-lived application token (installed/configured for the repo) to deploy? I've tried a few different approaches but none seem to work and I can't find any questions asking the same.
Relevant links
Our repository is private so can't be linked to.
Relevant log output
One of two errors happens depending on configuration:
Action failed with "The process '/usr/bin/git' failed with exit code 1"
Action failed with "The generated GITHUB_TOKEN (github_token) does not support to push to an external repository. Use deploy_key or personal_token."
Note that GITHUB_TOKEN has no permission to access to external repositories. Please create a personal access token and set it to personal_token like personal_token: ${{ secrets.PERSONAL_TOKEN }}.
We need to pass our personal access token or GitHub App token to personal_token.
Note that GITHUB_TOKEN has no permission to access to external repositories. Please create a personal access token and set it to personal_token like personal_token: ${{ secrets.PERSONAL_TOKEN }}.
We need to pass our personal access token or GitHub App token to personal_token.
I did try passing it to personal_token but it didn't work. I'll try again and loop back here with an update. Thanks for responding!
This issue has been LOCKED because of it being resolved!
The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.
Checklist
Describe your question
The README clearly outlines the ability to use
GITHUB_TOKEN
, a deploy key, or SSH key for deploying. I'm wondering if I could use a short-lived application token (installed/configured for the repo) to deploy? I've tried a few different approaches but none seem to work and I can't find any questions asking the same.Relevant links
Relevant log output
One of two errors happens depending on configuration:
Additional context.
We're using the following to get the app token:
The text was updated successfully, but these errors were encountered: