Skip to content

Commit 9dab585

Browse files
authored
Update test.yml
1 parent 1f2b669 commit 9dab585

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/test.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
name: Test Docs
1+
name: Update MD Files
22

33
on:
44
push:
55
branches:
66
- main
77
- docs-test
8+
89
jobs:
910
update-md-files:
1011
runs-on: ubuntu-latest
1112

1213
steps:
1314
- name: Checkout repository
1415
uses: actions/checkout@v2
15-
16-
- name: List files for debugging
17-
run: |
18-
ls -R
19-
pwd
16+
with:
17+
token: ${{ secrets.PAT_TOKEN }}
2018

2119
- name: Install dependencies
2220
run: |
@@ -28,11 +26,11 @@ jobs:
2826
run: bash test/docs_test.sh
2927

3028
- name: Commit and push changes
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
3131
run: |
32-
git config --global user.name 'github-actions[bot]'
33-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
32+
git config --global user.name 'bacalhau-infra-bot'
33+
git config --global user.email 'github-[email protected]'
3434
git add .
35-
git commit -m 'Update markdown files'
35+
git commit -m 'Run Documentation tests'
3636
git push
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)