3567: Clean CI file names r=curquiza a=curquiza

Make the CI names more consistent to ease the Gillian's onboarding πŸ˜‡ 

No impact for the users or the developers of the team

Co-authored-by: curquiza <clementine@meilisearch.com>
This commit is contained in:
bors[bot] 2023-03-09 12:20:18 +00:00 committed by GitHub
commit 7935bef4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 35 additions and 40 deletions

View File

@ -1,4 +1,4 @@
name: Benchmarks name: Benchmarks (manual)
on: on:
workflow_dispatch: workflow_dispatch:

View File

@ -1,4 +1,4 @@
name: Benchmarks indexing (push) name: Benchmarks of indexing (push)
on: on:
push: push:

View File

@ -1,4 +1,4 @@
name: Benchmarks search geo (push) name: Benchmarks of search for geo (push)
on: on:
push: push:

View File

@ -1,4 +1,4 @@
name: Benchmarks search songs (push) name: Benchmarks of search for songs (push)
on: on:
push: push:

View File

@ -1,4 +1,4 @@
name: Benchmarks search wikipedia articles (push) name: Benchmarks of search for Wikipedia articles (push)
on: on:
push: push:

View File

@ -1,28 +0,0 @@
name: Create issue to upgrade dependencies
on:
schedule:
# Run the first of the month, every 3 month
- cron: '0 0 1 */3 *'
workflow_dispatch:
jobs:
create-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create an issue
uses: actions-ecosystem/action-create-issue@v1
with:
github_token: ${{ secrets.MEILI_BOT_GH_PAT }}
title: Upgrade dependencies
body: |
This issue is about updating Meilisearch dependencies:
- [ ] Cargo toml dependencies of Meilisearch; but also the main engine-team repositories that Meilisearch depends on (charabia, heed...)
- [ ] If new Rust versions have been released, update the Rust version in the Clippy job of this [GitHub Action file](./.github/workflows/rust.yml)
⚠️ To avoid last minute bugs, this issue should only be done at the beginning of the sprint!
The GitHub action dependencies are managed by [Dependabot](./.github/dependabot.yml)
labels: |
dependencies
maintenance

24
.github/workflows/dependency-issue.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Create issue to upgrade dependencies
on:
schedule:
# Run the first of the month, every 3 month
- cron: '0 0 1 */3 *'
workflow_dispatch:
jobs:
create-issue:
runs-on: ubuntu-latest
env:
ISSUE_TEMPLATE: issue-template.md
GH_TOKEN: ${{ secrets.MEILI_BOT_GH_PAT }}
steps:
- uses: actions/checkout@v3
- name: Download the issue template
run: curl -s https://raw.githubusercontent.com/meilisearch/engine-team/main/issue-templates/dependency-issue.md > $ISSUE_TEMPLATE
- name: Create issue
run: |
gh issue create \
--title 'Upgrade dependencies' \
--label 'dependencies,maintenance' \
--body-file $ISSUE_TEMPLATE

View File

@ -1,4 +1,4 @@
name: Publish to APT repository & Homebrew name: Publish to APT & Homebrew
on: on:
release: release:

View File

@ -1,3 +1,5 @@
name: Publish binaries to GitHub release
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
@ -5,8 +7,6 @@ on:
release: release:
types: [published] types: [published]
name: Publish binaries to release
jobs: jobs:
check-version: check-version:
name: Check the version validity name: Check the version validity

View File

@ -1,4 +1,5 @@
--- name: Publish images to Docker Hub
on: on:
push: push:
# Will run for every tag pushed except `latest` # Will run for every tag pushed except `latest`
@ -12,8 +13,6 @@ on:
- cron: '0 23 * * *' # Every day at 11:00pm - cron: '0 23 * * *' # Every day at 11:00pm
workflow_dispatch: workflow_dispatch:
name: Publish tagged images to Docker Hub
jobs: jobs:
docker: docker:
runs-on: docker runs-on: docker

View File

@ -1,4 +1,4 @@
name: Rust name: Test suite
on: on:
workflow_dispatch: workflow_dispatch: