mirror of
https://github.com/vuejs/awesome-vue.git
synced 2025-07-31 21:59:54 -04:00
feat: add generator datase from readme
This commit is contained in:
parent
67bae07644
commit
6e9b06c146
1 changed files with 27 additions and 0 deletions
27
.github/workflows/create-dataset.yml
vendored
Normal file
27
.github/workflows/create-dataset.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Create dataset
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
data:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- name: Awesome readme to data
|
||||
uses: Scrum/awesome-readme-to-data-action@v0.0.11
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Commit files and Push changes
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add -A
|
||||
git commit -m "feat: update data file"
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
||||
git push
|
Loading…
Add table
Add a link
Reference in a new issue