Is it possible to checkout to enterprise github repo from non enterprise public repo in github actions?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
I want to checkout to enterprise github repo from non-enterprise public repo. These are my actions:
jobs:
checkout:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout private tools
uses: actions/checkout@v2
with:
repository: enterprise/repo
token: ${{ secrets.ENTERPRISE_TOKEN }}
path: main
but as I saw it will clone https://github.com/enterprise/repo, but my enterprise account is on a different domain. Is it possible to checkout to the enterprise account?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the checkout action's repository and the workflow entry shown in the issue, especially actions/checkout@v2 and its repository, token, and path inputs. Determine whether checkout supports an enterprise GitHub host from a public repository, and document the supported configuration or the limitation as the completed outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100