diff options
author | Nikita Kozlovskiy <nikitka@gmail.com> | 2023-07-07 05:15:50 +0000 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-07-07 08:15:50 +0300 |
commit | c1710d05f5ce29696c2b28cfbbb0b64e7bb1215c (patch) | |
tree | 75de0fd8ed79991437bf772861555305a61647b3 | |
parent | 0b32efb38bdb9e806107ef3115bc8177a751d9c5 (diff) | |
download | ydb-c1710d05f5ce29696c2b28cfbbb0b64e7bb1215c.tar.gz |
ci: replace GH_PERSONAL_ACCESS_TOKEN with YDB_PLATFORM_BOT_TOKEN_REPO
ci: replace GH_PERSONAL_ACCESS_TOKEN with YDB_PLATFORM_BOT_TOKEN_REPO
Pull Request resolved: #297
-rw-r--r-- | .github/workflows/build_and_test_ondemand.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pr_check.yml | 2 | ||||
-rw-r--r-- | .github/workflows/prewarm-ccache.yml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build_and_test_ondemand.yml b/.github/workflows/build_and_test_ondemand.yml index 5bd007df9a..bb0ae1b97c 100644 --- a/.github/workflows/build_and_test_ondemand.yml +++ b/.github/workflows/build_and_test_ondemand.yml @@ -54,7 +54,7 @@ jobs: with: mode: start yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }} - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} folder-id: ${{secrets.YC_FOLDER}} image-id: ${{inputs.image}} disk-size: ${{vars.DISK_SIZE && vars.DISK_SIZE || '1023GB'}} @@ -129,7 +129,7 @@ jobs: with: mode: stop yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }} - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} label: ${{ needs.provide-runner.outputs.label }} instance-id: ${{ needs.provide-runner.outputs.instance-id }} diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index ae9e93045b..4ac1337f98 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -26,7 +26,7 @@ jobs: id: check-ownership-membership uses: actions/github-script@v6 with: - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} script: | // This is used primarily in forks. Repository owner // should be allowed to run anything. diff --git a/.github/workflows/prewarm-ccache.yml b/.github/workflows/prewarm-ccache.yml index 8dc2228d98..1974d03136 100644 --- a/.github/workflows/prewarm-ccache.yml +++ b/.github/workflows/prewarm-ccache.yml @@ -19,7 +19,7 @@ jobs: with: mode: start yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }} - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} folder-id: ${{ secrets.YC_FOLDER }} image-id: fd8earpjmhevh8h6ug5o # TODO: create constant disk-size: ${{ vars.DISK_SIZE && vars.DISK_SIZE || '279GB' }} @@ -80,6 +80,6 @@ jobs: with: mode: stop yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }} - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} label: ${{ needs.provide-runner.outputs.label }} instance-id: ${{ needs.provide-runner.outputs.instance-id }} |