diff --git a/.github/ISSUE_TEMPLATE/update_dependencies.md b/.github/ISSUE_TEMPLATE/update_dependencies.md deleted file mode 100644 index a28eed5f0..000000000 --- a/.github/ISSUE_TEMPLATE/update_dependencies.md +++ /dev/null @@ -1,3 +0,0 @@ -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 index 41d793c0d..8b6e3cbcf 100644 --- a/.github/workflows/create-issue-dependencies.yml +++ b/.github/workflows/create-issue-dependencies.yml @@ -7,8 +7,21 @@ on: jobs: create-issue: runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 - - run: gh issue create --title "Upgrade dependencies" --label "dependencies,maintenance" --body-file ".github/ISSUE_TEMPLATE/update_dependencies.md" + - uses: actions/checkout@v3 + - name: Create an issue + uses: actions-ecosystem/action-create-issue@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + 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! + + labels: | + dependencies + maintenance \ No newline at end of file