blob: e2d3662580075f4a72cdbbdb2def0505f73133c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
name: Reorganize README
on:
push:
branches: [master]
jobs:
reorganize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- name: run the script
run: |
cd scripts
npm install
npm run main -- "https://github.com/${{ github.repository }}/blob/${GITHUB_REF##*/}/" ../README.md ../README.md
- name: create PR
uses: peter-evans/create-pull-request@v3
with:
commit-message: Reorganize README.md
branch: reorganize-ci
add-paths: README.md
delete-branch: false
title: '[CI] Reorganize README.md'
body: |
This is a CI that makes sure entries are in alphabetical order and no links are invalid.
Please check the [CI run][1] for logs.
[1]: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|