Skip to content

sync workflows: use app token to trigger PR event #4730

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

Merged
merged 1 commit into from
Jun 16, 2025
Merged

sync workflows: use app token to trigger PR event #4730

merged 1 commit into from
Jun 16, 2025

Conversation

ralfhandl
Copy link
Contributor

Using an app token instead of the default GitHub token triggers the pull_request event when creating a PR in a workflow.

This will trigger the schema-test status check which needs to know the base branch of its PR.

Without this change the sync PRs are stuck due to the missing status check until either closed and reopened or a second change arrives in the head branch.

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

@ralfhandl ralfhandl requested review from a team as code owners June 16, 2025 13:02
@ralfhandl ralfhandl added Housekeeping script Pull requests that update Bash or JavaScript code labels Jun 16, 2025
@handrews handrews merged commit 9e4f1ce into main Jun 16, 2025
3 checks passed
@handrews handrews deleted the main-sync branch June 16, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping script Pull requests that update Bash or JavaScript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants