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

ci: do not run auto commit in pull requests #127

Merged
merged 1 commit into from
May 21, 2024
Merged

ci: do not run auto commit in pull requests #127

merged 1 commit into from
May 21, 2024

Conversation

hussainweb
Copy link
Owner

@hussainweb hussainweb commented May 21, 2024

This is to avoid failures like the one we saw in #126. The job fails because it is a pull request from a fork and it cannot commit to the source repository. It turns out we don't really need to auto-commit in PR. The job will still run once the PR is merged but now it will run in the context of the actual repo.

@hussainweb hussainweb merged commit 0cd8bea into main May 21, 2024
3 checks passed
@hussainweb hussainweb deleted the ci-package branch May 21, 2024 18:07
@hussainweb
Copy link
Owner Author

I see that the auto-commit job was skipped in the PR but it ran as expected in the main branch on the merge commit.

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

Successfully merging this pull request may close these issues.

1 participant