abapGit/.github/workflows/ajson_mirror.yaml
Lars Hvam b23c0dc1b8
ajson, automatically PR from mirror (#4707)
* ajson, automatically PR from mirror

* upd

* upd

* upd

* upd

* upd

* setup node v2

* update deps

* upd
2021-04-18 11:19:57 +02:00

32 lines
662 B
YAML

name: ajson mirror
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
- name: run
run: |
git clone https://github.com/abapGit/ajson_mirror.git
ls -l
rm src/json/*
cp ajson_mirror/src/* src/json/
rm -rf ajson_mirror
git status
- name: Open PR
uses: peter-evans/create-pull-request@v3
with:
title: ajson, Automatic Update
body: |
Automatic update from mirror
https://github.com/abapGit/ajson_mirror