From 2c300c72c9bf5c4d0c319fef2d086a1ff3fa8c28 Mon Sep 17 00:00:00 2001 From: Vasiliy Soldatkin Date: Tue, 5 Jul 2022 18:28:29 +0300 Subject: [PATCH] Add CI creates issue updating dependencies --- .github/ISSUE_TEMPLATE/update_dependencies.md | 3 +++ .github/workflows/create-issue-dependencies.yml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/update_dependencies.md create mode 100644 .github/workflows/create-issue-dependencies.yml diff --git a/.github/ISSUE_TEMPLATE/update_dependencies.md b/.github/ISSUE_TEMPLATE/update_dependencies.md new file mode 100644 index 000000000..a28eed5f0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/update_dependencies.md @@ -0,0 +1,3 @@ +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! diff --git a/.github/workflows/create-issue-dependencies.yml b/.github/workflows/create-issue-dependencies.yml new file mode 100644 index 000000000..c9e7fd9ca --- /dev/null +++ b/.github/workflows/create-issue-dependencies.yml @@ -0,0 +1,16 @@ +name: Create Issue "Upgrade dependencies" +on: + schedule: + - cron: '0 0 1 */3 *' + workflow_dispatch: + +jobs: + create-issue: + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v1 + - run: gh issue create --title "Upgrade dependencies" --label "dependencies,maintenance" --body-file ".github/ISSUE_TEMPLATE/update_dependencies.md" + +