diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 3c2c9a6a9f..3adb35f0a7 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -12,7 +12,7 @@ module.exports = [ 'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526', //actions/setup-ruby@v1.1.2 'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13 'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688', - 'crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120', + 'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c', 'cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576', 'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', 'docker://chinthakagodawita/autoupdate-action:v1', diff --git a/.github/workflows/site-policy-sync.yml b/.github/workflows/site-policy-sync.yml index 83cebe1e9f..3b76939af7 100644 --- a/.github/workflows/site-policy-sync.yml +++ b/.github/workflows/site-policy-sync.yml @@ -29,13 +29,14 @@ jobs: # Pushes to other repo - name: Push folder to another repository - uses: crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120 + uses: crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_SITEPOLICY }} with: source_folder: 'content/github/site-policy' destination_repo: 'github/site-policy' - destination_branch: 'repo-sync' + destination_branch: 'main' + destination_branch_create: 'repo-sync' destination_folder: 'Policies' user_email: 'pcihon@users.noreply.github.com' user_name: 'pcihon'