From c15e35782d46a132c42143fca209b6efaf912500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Fri, 15 Mar 2024 15:39:53 +0100 Subject: [PATCH] chore(ci): use new workflow fine-grained token --- .github/workflows/approve_label.yml | 4 ++-- .github/workflows/boolean_benchmark.yml | 2 +- .github/workflows/core_crypto_benchmark.yml | 2 +- .github/workflows/core_crypto_gpu_benchmark.yml | 2 +- .github/workflows/gpu_4090_full_benchmark.yml | 4 ++-- .github/workflows/integer_benchmark.yml | 2 +- .github/workflows/integer_full_benchmark.yml | 2 +- .github/workflows/integer_gpu_benchmark.yml | 2 +- .github/workflows/integer_gpu_full_benchmark.yml | 2 +- .github/workflows/integer_multi_bit_benchmark.yml | 2 +- .github/workflows/integer_multi_bit_gpu_benchmark.yml | 2 +- .github/workflows/shortint_benchmark.yml | 2 +- .github/workflows/shortint_full_benchmark.yml | 2 +- .github/workflows/signed_integer_benchmark.yml | 2 +- .github/workflows/signed_integer_full_benchmark.yml | 2 +- .github/workflows/signed_integer_multi_bit_benchmark.yml | 2 +- .github/workflows/start_benchmarks.yml | 2 +- .github/workflows/start_full_benchmarks.yml | 2 +- .github/workflows/sync_on_push.yml | 4 ++-- .github/workflows/wasm_client_benchmark.yml | 2 +- 20 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/approve_label.yml b/.github/workflows/approve_label.yml index c11f198e40..6da3c21e6f 100644 --- a/.github/workflows/approve_label.yml +++ b/.github/workflows/approve_label.yml @@ -21,7 +21,7 @@ jobs: uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 with: # We use a PAT to have the same user (zama-bot) for label deletion as for creation. - github_token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + github_token: ${{ secrets.FHE_ACTIONS_TOKEN }} labels: approved # Add label only if the review is approved and if the label doesn't already exist @@ -30,5 +30,5 @@ jobs: if: ${{ github.event_name == 'pull_request_review' && github.event.review.state == 'approved' && !contains(fromJSON(env.LABELS), 'approved') }} with: # We need to use a PAT to be able to trigger `labeled` event for the other workflow. - github_token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + github_token: ${{ secrets.FHE_ACTIONS_TOKEN }} labels: approved diff --git a/.github/workflows/boolean_benchmark.yml b/.github/workflows/boolean_benchmark.yml index 3f7e80cc74..22fe34119b 100644 --- a/.github/workflows/boolean_benchmark.yml +++ b/.github/workflows/boolean_benchmark.yml @@ -107,7 +107,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/core_crypto_benchmark.yml b/.github/workflows/core_crypto_benchmark.yml index 9376e08bd2..dab11a3d52 100644 --- a/.github/workflows/core_crypto_benchmark.yml +++ b/.github/workflows/core_crypto_benchmark.yml @@ -98,7 +98,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/core_crypto_gpu_benchmark.yml b/.github/workflows/core_crypto_gpu_benchmark.yml index a4bb646dee..386641da07 100644 --- a/.github/workflows/core_crypto_gpu_benchmark.yml +++ b/.github/workflows/core_crypto_gpu_benchmark.yml @@ -128,7 +128,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/gpu_4090_full_benchmark.yml b/.github/workflows/gpu_4090_full_benchmark.yml index 9ec18932d7..cc415dbff5 100644 --- a/.github/workflows/gpu_4090_full_benchmark.yml +++ b/.github/workflows/gpu_4090_full_benchmark.yml @@ -61,7 +61,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run integer benchmarks run: | @@ -142,7 +142,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run integer benchmarks run: | diff --git a/.github/workflows/integer_benchmark.yml b/.github/workflows/integer_benchmark.yml index 7b0d78272b..8ca6affc21 100644 --- a/.github/workflows/integer_benchmark.yml +++ b/.github/workflows/integer_benchmark.yml @@ -101,7 +101,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/integer_full_benchmark.yml b/.github/workflows/integer_full_benchmark.yml index 0166d2b28d..487f67cc40 100644 --- a/.github/workflows/integer_full_benchmark.yml +++ b/.github/workflows/integer_full_benchmark.yml @@ -101,7 +101,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run benchmarks with AVX512 run: | diff --git a/.github/workflows/integer_gpu_benchmark.yml b/.github/workflows/integer_gpu_benchmark.yml index a279bb088f..f3d8ebbbdb 100644 --- a/.github/workflows/integer_gpu_benchmark.yml +++ b/.github/workflows/integer_gpu_benchmark.yml @@ -132,7 +132,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/integer_gpu_full_benchmark.yml b/.github/workflows/integer_gpu_full_benchmark.yml index e864427fad..d296177cb0 100644 --- a/.github/workflows/integer_gpu_full_benchmark.yml +++ b/.github/workflows/integer_gpu_full_benchmark.yml @@ -111,7 +111,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run benchmarks with AVX512 run: | diff --git a/.github/workflows/integer_multi_bit_benchmark.yml b/.github/workflows/integer_multi_bit_benchmark.yml index fb12cb42f6..a450d4530b 100644 --- a/.github/workflows/integer_multi_bit_benchmark.yml +++ b/.github/workflows/integer_multi_bit_benchmark.yml @@ -101,7 +101,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/integer_multi_bit_gpu_benchmark.yml b/.github/workflows/integer_multi_bit_gpu_benchmark.yml index 98125597bd..cc4ac3f04c 100644 --- a/.github/workflows/integer_multi_bit_gpu_benchmark.yml +++ b/.github/workflows/integer_multi_bit_gpu_benchmark.yml @@ -133,7 +133,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/shortint_benchmark.yml b/.github/workflows/shortint_benchmark.yml index a94e1f5ace..311e0718f1 100644 --- a/.github/workflows/shortint_benchmark.yml +++ b/.github/workflows/shortint_benchmark.yml @@ -99,7 +99,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/shortint_full_benchmark.yml b/.github/workflows/shortint_full_benchmark.yml index 6050894479..d51db85581 100644 --- a/.github/workflows/shortint_full_benchmark.yml +++ b/.github/workflows/shortint_full_benchmark.yml @@ -80,7 +80,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run benchmarks with AVX512 run: | diff --git a/.github/workflows/signed_integer_benchmark.yml b/.github/workflows/signed_integer_benchmark.yml index da254b1d9f..ead5b6d866 100644 --- a/.github/workflows/signed_integer_benchmark.yml +++ b/.github/workflows/signed_integer_benchmark.yml @@ -101,7 +101,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/signed_integer_full_benchmark.yml b/.github/workflows/signed_integer_full_benchmark.yml index e8a77a4ea3..2f0e5b89fb 100644 --- a/.github/workflows/signed_integer_full_benchmark.yml +++ b/.github/workflows/signed_integer_full_benchmark.yml @@ -79,7 +79,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Run benchmarks with AVX512 run: | diff --git a/.github/workflows/signed_integer_multi_bit_benchmark.yml b/.github/workflows/signed_integer_multi_bit_benchmark.yml index c8ab3bb601..da5633deaf 100644 --- a/.github/workflows/signed_integer_multi_bit_benchmark.yml +++ b/.github/workflows/signed_integer_multi_bit_benchmark.yml @@ -101,7 +101,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash diff --git a/.github/workflows/start_benchmarks.yml b/.github/workflows/start_benchmarks.yml index d68f3529d6..4773f49f42 100644 --- a/.github/workflows/start_benchmarks.yml +++ b/.github/workflows/start_benchmarks.yml @@ -115,7 +115,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Start AWS job in Slab # If manually triggered check that the current bench has been requested diff --git a/.github/workflows/start_full_benchmarks.yml b/.github/workflows/start_full_benchmarks.yml index c67dc933d9..d3d690f6b7 100644 --- a/.github/workflows/start_full_benchmarks.yml +++ b/.github/workflows/start_full_benchmarks.yml @@ -39,7 +39,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Set benchmarks type as weekly if: (github.event_name == 'workflow_dispatch' && inputs.benchmark_type == 'weekly') || github.event.schedule == '0 1 * * 6' diff --git a/.github/workflows/sync_on_push.yml b/.github/workflows/sync_on_push.yml index 8f97ca2869..2ed2c8591c 100644 --- a/.github/workflows/sync_on_push.yml +++ b/.github/workflows/sync_on_push.yml @@ -26,12 +26,12 @@ jobs: with: source_repo: "zama-ai/tfhe-rs" source_branch: "main" - destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.CONCRETE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}" + destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.FHE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}" destination_branch: "main" - name: git-sync tags uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 with: source_repo: "zama-ai/tfhe-rs" source_branch: "refs/tags/*" - destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.CONCRETE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}" + destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.FHE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}" destination_branch: "refs/tags/*" diff --git a/.github/workflows/wasm_client_benchmark.yml b/.github/workflows/wasm_client_benchmark.yml index 25b27df876..ec3aa7505c 100644 --- a/.github/workflows/wasm_client_benchmark.yml +++ b/.github/workflows/wasm_client_benchmark.yml @@ -108,7 +108,7 @@ jobs: with: repository: zama-ai/slab path: slab - token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }} + token: ${{ secrets.FHE_ACTIONS_TOKEN }} - name: Send data to Slab shell: bash