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

@ -3,7 +3,7 @@ on:
schedule: schedule:
- cron: '0 0 1 */3 *' - cron: '0 0 1 */3 *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
create-issue: create-issue:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -12,12 +12,12 @@ 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...).
⚠️ This issue should only be done at the beginning of the sprint! ⚠️ This issue should only be done at the beginning of the sprint!
labels: | labels: |
dependencies dependencies
maintenance maintenance

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 }}