Why are my GitHub pull request checks not running?
This might be due to missing workflow permissions or branch protection rules. Ensure workflows are correctly set and verify branch protection requirements.
If GitHub pull request checks aren’t running, it may be due to workflow permissions, branch protection rules, or incorrect setup within your GitHub Actions workflow file. Start by reviewing the workflow file to confirm it’s set to trigger on pull_request
events, which is necessary for pull request-specific actions. Next, navigate to Settings > Actions > General in your repository and ensure workflows are permitted to run. Additionally, check branch protection rules for the target branch in Settings > Branches, ensuring checks like Require status checks to pass before merging
are properly configured. Sometimes, workflow permissions may be set to Read
only, limiting GitHub Actions from updating check statuses. Changing permissions to Read and Write
in your Actions settings may resolve this. If everything is correctly configured, try re-running the workflow or creating a new pull request to test the setup.