Skip to content

Commit

Permalink
Update add-checks.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Rakshith B <[email protected]>
  • Loading branch information
Rakshithb1 authored Jan 12, 2024
1 parent 4c06e26 commit 5e89f4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/add-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ jobs:

- name: Add branch protection rule
run: |
TOKEN=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
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer 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" \
-H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/Rakshithb1/commons/branches/develop/protection/required_status_checks/contexts \
-d '{"contexts":["kernel-idgenerator-service / build-dockers","kernel-notification-service / build-dockers"]}'

0 comments on commit 5e89f4e

Please sign in to comment.