Skip to content

Commit

Permalink
update PR action
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharang committed Sep 9, 2023
1 parent 8bfe97b commit e549299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/get_data_lint_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: ["dev"]
pull_request:
types: [opened, synchronize, reopened]

jobs:
pre_job:
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
run: node utils/js/h1_presence_checker.js

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "[Bot] File and author data updated, validated and updated internal links, formatted md content, checked presence of file and dirs based on sidebar, checked presence of h1 in every file, update atomicdex methods table"
Expand Down
2 changes: 1 addition & 1 deletion utils/js/h1_presence_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import path from 'path'
try {
await walkDir("./src/pages", async (filePath) => {
const markdown = await fs.readFile(filePath, 'utf-8');
console.log(filePath)
//console.log(filePath)
const file = await remark()
.use(() => (tree) => {
let documentContainsTitleHeading = false;
Expand Down

0 comments on commit e549299

Please sign in to comment.