Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
philnewm committed Dec 17, 2024
1 parent a5d5554 commit 630267e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/reset_test_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ jobs:
-f ref="refs/heads/${{ env.MAIN_BRANCH }}" \
-f sha="${{ steps.latest-sha.outputs.sha }}"
# TODO update branch name to main
- name: Update protect_main.json file
run: |
curl -O https://raw.githubusercontent.com/${{ github.repository }}/main/branch_rules/protect_main.json
curl -O https://raw.githubusercontent.com/${{ github.repository }}/develop/branch_rules/protect_main.json
cat protect_main.json | jq '.bypass_actors[0].actor_id = ${{ secrets.ACTOR_ID_REPO_ROLE }} | .bypass_actors[1].actor_id = ${{ secrets.ACTOR_ID_ORG_ADMIN }}' > protect_main_insert.json
- name: Apply rule set for '${{ env.MAIN_BRANCH }}'
Expand Down

0 comments on commit 630267e

Please sign in to comment.