Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CT-1609] [Bug] Generate CLI API docs CI check not able to checkout PR branches from forks #6386

Closed
2 tasks done
dbeatty10 opened this issue Dec 6, 2022 · 0 comments · Fixed by #6390
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Dec 6, 2022

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

When reviewing a community contributed PR, the Generate CLI API docs CI check failed with this message:

Error: A branch or tag with the name 'feature/dbt-deps-tarball' could not be found

Instance of this issue:
https://github.com/dbt-labs/dbt-core/actions/runs/3625104874/jobs/6113159381

Expected Behavior

Hoped that the CI check could run without erroring prematurely. e.g., if needed, checkout the branch from a fork rather than a local branch.

Steps To Reproduce

  1. Run to run CI on a PR from a fork (i.e., a PR submitted by someone outside the dbt-labs organization)

Relevant log output

Run actions/checkout@v3
Syncing repository: dbt-labs/dbt-core
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/1d57006c-8385-4aa4-92f0-1c31e45309b6' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/dbt-core/dbt-core
Deleting the contents of '/home/runner/work/dbt-core/dbt-core'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
  /usr/bin/git branch --list --remote origin/feature/dbt-deps-tarball
  /usr/bin/git tag --list feature/dbt-deps-tarball
  Error: A branch or tag with the name 'feature/dbt-deps-tarball' could not be found

Environment

N/A

Which database adapter are you using with dbt?

No response

Additional Context

No response

@dbeatty10 dbeatty10 added bug Something isn't working triage labels Dec 6, 2022
@github-actions github-actions bot changed the title [Bug] Generate CLI API docs CI check not able to checkout PR branches from forks [CT-1609] [Bug] Generate CLI API docs CI check not able to checkout PR branches from forks Dec 6, 2022
@dbeatty10 dbeatty10 removed the triage label Dec 6, 2022
@stu-k stu-k self-assigned this Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants