diff --git a/.github/workflows/create-issue-dependencies.yml b/.github/workflows/create-issue-dependencies.yml index 638088c2e..e3deebe2a 100644 --- a/.github/workflows/create-issue-dependencies.yml +++ b/.github/workflows/create-issue-dependencies.yml @@ -3,7 +3,7 @@ on: schedule: - cron: '0 0 1 */3 *' workflow_dispatch: - + jobs: create-issue: runs-on: ubuntu-latest @@ -12,12 +12,12 @@ jobs: - name: Create an issue uses: actions-ecosystem/action-create-issue@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.MEILI_BOT_GH_PAT }} title: Upgrade dependencies 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...). - ⚠️ 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: | dependencies maintenance diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 65d4746ba..95088b1ef 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest # No need to check the version for dry run (cron) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Check if the tag has the v.. format. # If yes, it means we are publishing an official release. # If no, we are releasing a RC, so no need to check the version. @@ -62,7 +62,7 @@ jobs: if: github.event_name != 'schedule' uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.PUBLISH_TOKEN }} + repo_token: ${{ secrets.MEILI_BOT_GH_PAT }} file: target/release/${{ matrix.artifact_name }} asset_name: ${{ matrix.asset_name }} tag: ${{ github.ref }} @@ -132,7 +132,7 @@ jobs: if: github.event_name != 'schedule' uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.PUBLISH_TOKEN }} + repo_token: ${{ secrets.MEILI_BOT_GH_PAT }} file: target/${{ matrix.target }}/release/meilisearch asset_name: ${{ matrix.asset_name }} tag: ${{ github.ref }} diff --git a/.github/workflows/publish-deb-brew-pkg.yml b/.github/workflows/publish-deb-brew-pkg.yml index b5fc330bf..a135ddafb 100644 --- a/.github/workflows/publish-deb-brew-pkg.yml +++ b/.github/workflows/publish-deb-brew-pkg.yml @@ -9,7 +9,7 @@ jobs: name: Check the version validity runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Check release validity run: bash .github/scripts/check-release.sh @@ -29,7 +29,7 @@ jobs: - name: Upload debian pkg to release uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.MEILI_BOT_GH_PAT }} file: target/debian/meilisearch.deb asset_name: meilisearch.deb tag: ${{ github.ref }} diff --git a/.github/workflows/publish-docker-images.yml b/.github/workflows/publish-docker-images.yml index 72234fc01..88605bee1 100644 --- a/.github/workflows/publish-docker-images.yml +++ b/.github/workflows/publish-docker-images.yml @@ -12,7 +12,7 @@ jobs: docker: runs-on: docker steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Check if the tag has the v.. format. If yes, it means we are publishing an official release. # In this situation, we need to set `output.stable` to create/update the following tags (additionally to the `vX.Y.Z` Docker tag):