Use meili-bot PAT everywhere

This commit is contained in:
Clémentine Urquizar 2022-09-04 11:32:22 +02:00
parent 2eca723a91
commit 5f5b787483
No known key found for this signature in database
GPG Key ID: D8E7CC7422E77E1A
3 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ jobs:
- name: Create an issue - name: Create an issue
uses: actions-ecosystem/action-create-issue@v1 uses: actions-ecosystem/action-create-issue@v1
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.MEILI_BOT_GH_PAT }}
title: Upgrade dependencies title: Upgrade dependencies
body: | body: |
We need to update the dependencies of the Meilisearch repository, and, if possible, the dependencies of all the core-team repositories that Meilisearch depends on (milli, charabia, heed...). We need to update the dependencies of the Meilisearch repository, and, if possible, the dependencies of all the core-team repositories that Meilisearch depends on (milli, charabia, heed...).

View File

@ -62,7 +62,7 @@ jobs:
if: github.event_name != 'schedule' if: github.event_name != 'schedule'
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.PUBLISH_TOKEN }} repo_token: ${{ secrets.MEILI_BOT_GH_PAT }}
file: target/release/${{ matrix.artifact_name }} file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }} asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }} tag: ${{ github.ref }}
@ -132,7 +132,7 @@ jobs:
if: github.event_name != 'schedule' if: github.event_name != 'schedule'
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.PUBLISH_TOKEN }} repo_token: ${{ secrets.MEILI_BOT_GH_PAT }}
file: target/${{ matrix.target }}/release/meilisearch file: target/${{ matrix.target }}/release/meilisearch
asset_name: ${{ matrix.asset_name }} asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }} tag: ${{ github.ref }}

View File

@ -29,7 +29,7 @@ jobs:
- name: Upload debian pkg to release - name: Upload debian pkg to release
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.MEILI_BOT_GH_PAT }}
file: target/debian/meilisearch.deb file: target/debian/meilisearch.deb
asset_name: meilisearch.deb asset_name: meilisearch.deb
tag: ${{ github.ref }} tag: ${{ github.ref }}