Skip to content

Commit

Permalink
ci: update create-pull-request action to v6 in udf-doc-gen workflow &…
Browse files Browse the repository at this point in the history
… rm deprecated file sync (#3964)

* Updated create-pull-request action to v6 in udf-doc-gen workflow

* Removed references to docs/en/reference/sql/udfs_8h.md as the file no longer exists
  • Loading branch information
Jayaprakash0511 authored Jul 26, 2024
1 parent 3a7228a commit 1e07589
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/udf-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@ jobs:
make -C hybridse/tools/documentation/udf_doxygen sync
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
if: github.event_name != 'pull_request'
with:
add-paths: |
docs/en/reference/sql/udfs_8h.md
docs/zh/openmldb_sql/udfs_8h.md
labels: |
udf
Expand Down
1 change: 0 additions & 1 deletion hybridse/tools/documentation/udf_doxygen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ doxygen2md: doxygen

sync: doxygen2md
@if [ -n "$(SYNC_DIR)" ]; then \
cp -v "$(UDF_GEN_DIR)/Files/udfs_8h.md" "$(SYNC_DIR)/docs/en/reference/sql/udfs_8h.md"; \
cp -v "$(UDF_GEN_DIR)/Files/udfs_8h.md" "$(SYNC_DIR)/docs/zh/openmldb_sql/udfs_8h.md"; \
else \
echo "SKIP SYNC: DEFAULT Sync DIR not found"; \
Expand Down

0 comments on commit 1e07589

Please sign in to comment.