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 c4649a5 commit 705b8ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/add-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Add
run: |
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/Rakshithb1/commons/branches/develop/protection
env:
GH_TOKEN: ${{ github.token }}
- name: Add branch protection rule
run: |
TOKEN=$GITHUB_TOKEN
Expand Down

0 comments on commit 705b8ac

Please sign in to comment.