diff --git a/.github/workflows/reset_test_repo.yml b/.github/workflows/reset_test_repo.yml index e9b1af2..879e396 100644 --- a/.github/workflows/reset_test_repo.yml +++ b/.github/workflows/reset_test_repo.yml @@ -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 }}'