Skip to content

Prevent execution of Antora jobs on forks #34077

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

Closed

Conversation

scordio
Copy link
Contributor

@scordio scordio commented Dec 11, 2024

Prior to this commit, any fork that copied the main branch only experienced daily failures at 10am UTC due to the scheduled execution of the update-antora-ui-spring workflow. With this change, the workflow jobs are executed only when under the spring-projects GitHub organization.

The failures of my fork: https://github.com/scordio/spring-framework/actions/workflows/update-antora-ui-spring.yml

An alternative solution would be disabling the workflow on each affected fork.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 11, 2024
@snicoll snicoll added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 12, 2024
@snicoll snicoll added this to the 6.2.x milestone Dec 12, 2024
@snicoll
Copy link
Member

snicoll commented Dec 12, 2024

Thanks @scordio - that looks like an oversight on our end.

@snicoll snicoll self-assigned this Dec 12, 2024
@snicoll snicoll modified the milestones: 6.2.x, 6.2.2 Dec 12, 2024
snicoll pushed a commit that referenced this pull request Dec 12, 2024
snicoll added a commit that referenced this pull request Dec 12, 2024
@snicoll snicoll closed this in d7a3971 Dec 12, 2024
@scordio scordio deleted the antora-workflow-on-forks branch December 12, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants