ant-design/.github/workflows/suggest-related-links.yml
xrkffgg 33163ca94f
ci: update name & add skip (#32226)
* ci: update name

* Update pr-check-ci.yml
2021-09-18 15:49:54 +08:00

34 lines
908 B
YAML

name: 'Suggest Related Links'
on:
issues:
types:
- opened
- edited
workflow_dispatch:
schedule:
- cron: '13 13 * * */7'
jobs:
suggest-related-links:
runs-on: ubuntu-18.04
steps:
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/actions-suggest-related-links-tmp
key: ${{ runner.os }}-action-${{ hashFiles('~/actions-suggest-related-links-tmp/training-data.json') }}
restore-keys: |
${{ runner.os }}-action-
- uses: peaceiris/actions-suggest-related-links@v1
- uses: peaceiris/actions-suggest-related-links/models/fasttext@v1
if: github.event_name == 'issues'
with:
version: v1
- uses: peaceiris/actions-suggest-related-links@v1
with:
mode: 'suggest'
repository: 'peaceiris/actions-gh-pages'
unclickable: true