Skip to content

Commit

Permalink
chore(ci): use new workflow fine-grained token
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Mar 18, 2024
1 parent 55f666d commit c15e357
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/approve_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/boolean_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_crypto_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_crypto_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gpu_4090_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_gpu_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_multi_bit_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integer_multi_bit_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shortint_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shortint_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/signed_integer_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/signed_integer_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/signed_integer_multi_bit_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start_full_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
2 changes: 1 addition & 1 deletion .github/workflows/wasm_client_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c15e357

Please sign in to comment.