-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (34 loc) · 959 Bytes
/
ci.yml
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
33
34
35
name: CI
on:
push:
workflow_dispatch:
jobs:
build:
name: doc
runs-on: ubuntu-latest
# if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Update readme
run: |
make readme
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "ci: Update readme"
branch: ${{ github.head_ref }}
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
# tests:
# name: tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# token: ${{ secrets.BOT_ACCESS_TOKEN }}
# - name: Run tests
# run: |
# make tests