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

Update add-to-docs-project.yml #4136

Closed
wants to merge 1 commit into from

Conversation

knylander-grafana
Copy link
Contributor

@knylander-grafana knylander-grafana commented Sep 28, 2024

Please check this! I'm trying to add a fix to the GitHub add for PRs to let them work with forks. This is my first time editing a GitHub action.

@jdbaldry posted this fix: "If you want to stop the errors on forks, you can add github.event.pull_request.head.repo.full_name == github.repository to the if expression that limits job execution."

What this PR does:
Attempts to fix a build error using a suggestion Jack B.

Example error: https://github.com/grafana/tempo/actions/runs/11079160979/job/30787709474?pr=4135

image

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Please check this! I'm trying to add a fix to the GitHub add for PRs to let them work with forks. 

@jdbaldry posted this fix: "If you want to stop the errors on forks, you can add github.event.pull_request.head.repo.full_name == github.repository to the if expression that limits job execution."
@knylander-grafana
Copy link
Contributor Author

Closing this PR since we've incorporated these chagnes in another PR. #4135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants