File tree 2 files changed +310
-310
lines changed
2 files changed +310
-310
lines changed Original file line number Diff line number Diff line change 1
- name : Docs
2
- defaults :
3
- run :
4
- shell : bash
5
-
6
- permissions :
7
- contents : write
8
- pull-requests : write
9
-
10
- on :
11
- push :
12
- branches : ["main"]
13
- paths :
14
- - " sqlc.ci.yaml"
15
- - " examples/**"
16
- - " *Tests/**"
17
- - " *Example/**"
18
- - " Drivers/**"
19
-
20
- jobs :
21
- generate-and-push-docs :
22
- runs-on : ubuntu-latest
23
-
24
- steps :
25
- - name : Checkout repository
26
- uses : actions/checkout@v4
27
-
28
- - name : Updating Examples doc
29
- run : ./scripts/docs/generate_examples.sh docs/Examples.md
30
-
31
- - name : Create Pull Request
32
- uses : peter-evans/create-pull-request@v6
33
- env :
34
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
- with :
36
- title : update auto-generated docs
37
- commit-message : update docs
38
- branch : update-docs
39
- branch-suffix : timestamp
40
- delete-branch : true
1
+ # name: Docs
2
+ # defaults:
3
+ # run:
4
+ # shell: bash
5
+ #
6
+ # permissions:
7
+ # contents: write
8
+ # pull-requests: write
9
+ #
10
+ # on:
11
+ # push:
12
+ # branches: ["main"]
13
+ # paths:
14
+ # - "sqlc.ci.yaml"
15
+ # - "examples/**"
16
+ # - "*Tests/**"
17
+ # - "*Example/**"
18
+ # - "Drivers/**"
19
+ #
20
+ # jobs:
21
+ # generate-and-push-docs:
22
+ # runs-on: ubuntu-latest
23
+ #
24
+ # steps:
25
+ # - name: Checkout repository
26
+ # uses: actions/checkout@v4
27
+ #
28
+ # - name: Updating Examples doc
29
+ # run: ./scripts/docs/generate_examples.sh docs/Examples.md
30
+ #
31
+ # - name: Create Pull Request
32
+ # uses: peter-evans/create-pull-request@v6
33
+ # env:
34
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
+ # with:
36
+ # title: update auto-generated docs
37
+ # commit-message: update docs
38
+ # branch: update-docs
39
+ # branch-suffix: timestamp
40
+ # delete-branch: true
You can’t perform that action at this time.
0 commit comments