Skip to content

A GitHub Action that transform awesome readme to data and commit in PR

Notifications You must be signed in to change notification settings

Scrum/awesome-readme-to-data-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

About

A GitHub Action that transform awesome readme to data and commit in PR

Resources

Stars

Watchers

Forks

Packages

No packages published