Open
Conversation
betinacosta
commented
Apr 9, 2026
| sync: | ||
| runs-on: ["self-hosted"] | ||
| if: ${{ !contains(github.server_url, 'github.com') }} | ||
| if: ${{ !contains(github.server_url, 'github.com') && contains(github.repository, 'application-foundation') }} |
Member
Author
There was a problem hiding this comment.
The idea is to check if it is from our org, this was the simplest way I could think, let me know if you guys think is too fragile.
NicoleMGomes
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I added a verification to see if the repository url contains
application-foundationstring, meaning it is on our organization, therefore, isn't a fork.Related Issue
AFSDK-3123
(Link to the GitHub issue this PR addresses)
Type of Change
Please check the relevant option:
How to Test
Describe how reviewers can test your changes:
Checklist
Before submitting your PR, please review and check the following:
Breaking Changes
If this PR introduces breaking changes, please describe:
Additional Notes
Add any additional context, screenshots, or information that would help reviewers.