Skip to content

Is it possible to checkout to enterprise github repo from non enterprise public repo in github actions? #563

Open
@LakshmiRavali

Description

@LakshmiRavali

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions