https://github.com/scrum/awesome-readme-to-data-action
A GitHub Action that transform awesome readme to data and commit in PR
https://github.com/scrum/awesome-readme-to-data-action
List: awesome-readme-to-data-action
Last synced: 5 months ago
JSON representation
A GitHub Action that transform awesome readme to data and commit in PR
- Host: GitHub
- URL: https://github.com/scrum/awesome-readme-to-data-action
- Owner: Scrum
- Created: 2020-03-25T13:01:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T08:00:42.000Z (over 3 years ago)
- Last Synced: 2025-06-08T09:54:36.328Z (about 1 year ago)
- Language: JavaScript
- Size: 589 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#
Awesome readme to data action
> A GitHub Action that transform awesome readme to data and commit in PR
## Usage
You can create a `.github/workflows/create-dataset.yml` file:
```yaml
name: Awesome readme to data action
on:
pull_request:
types: [opened, synchronize]
branches:
- master
jobs:
build:
name: awesome readme to 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.1.4
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
```