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

Fixing build docs yaml to detect branches on forks #2618

Merged
merged 2 commits into from
May 16, 2024

Conversation

KasukabeDefenceForce
Copy link
Contributor

📝 Description

Type: 🪲 bugfix
The build docs yaml currently clones only the main repository but we are updating it to work on branches on forks.

📌 Resources

Examples, notebooks, and links to useful references.

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@KasukabeDefenceForce KasukabeDefenceForce marked this pull request as draft May 14, 2024 09:54
@KasukabeDefenceForce KasukabeDefenceForce changed the title Fixing build docs yaml to detect branches on forkss Fixing build docs yaml to detect branches on forks May 14, 2024
@KasukabeDefenceForce KasukabeDefenceForce marked this pull request as ready for review May 14, 2024 10:00
@@ -48,7 +48,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.sha }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref: ${{ github.event.pull_request.head.sha }} is what was used in the previous docs workflow. Please use that instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the ref.

@andrewfullard andrewfullard merged commit 4317f54 into tardis-sn:master May 16, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants