You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,12 +91,12 @@ To regenerate the PR jobs for the action:
91
91
CHECKS="$(gh api repos/github/codeql-action/commits/${SHA}/check-runs --paginate | jq --slurp --compact-output --raw-output '[.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "LGTM.com" or . == "Update dependencies" or . == "Update Supported Enterprise Server Versions" | not)]')"
92
92
echo"{\"contexts\": ${CHECKS}}"> checks.json
93
93
gh api -X "PATCH" repos/github/codeql-action/branches/main/protection/required_status_checks --input checks.json
94
+
gh api -X "PATCH" repos/github/codeql-action/branches/v2/protection/required_status_checks --input checks.json
94
95
gh api -X "PATCH" repos/github/codeql-action/branches/v1/protection/required_status_checks --input checks.json
95
96
````
96
97
97
98
2. Go to the [branch protection rules settings page](https://github.com/github/codeql-action/settings/branches) and validate that the rules have been updated.
98
99
99
-
100
100
## Resources
101
101
102
102
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
0 commit comments