meilisearch/.github/workflows/dependency-issue.yml

25 lines
713 B
YAML
Raw Normal View History

2023-03-07 21:55:09 +08:00
name: Create issue to upgrade dependencies
on:
schedule:
# Run the first of the month, every 6 month
2023-09-18 15:57:58 +08:00
- cron: '0 0 1 */6 *'
2023-03-07 21:55:09 +08:00
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