Skip to content

Commit

Permalink
Update devtoolsBuilder.yml
Browse files Browse the repository at this point in the history
test 

Signed-off-by: KamiYeung <[email protected]>
  • Loading branch information
YeungHoiChiu authored Jun 13, 2024
1 parent 21a282a commit 33c87ee
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/devtoolsBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
id: create_commit
run: |
# Copy built files
rsync -a ./devtools-frontend/out/Default/gen/front_end ./public/
rsync -a ./devtools-frontend/out/Default/gen/front_end ./public/front_end
# Create index.html
cp ./public/devtools_app.html ./public/front_end/index.html
# Create commit info with latest devtools-frontend commit
current_date=$(date +"%d-%m-%Y")
latest_commit_full=$(git ls-remote https://chromium.googlesource.com/devtools/devtools-frontend.git HEAD | cut -f 1)
Expand All @@ -57,3 +59,17 @@ jobs:
echo "branch_name=${branch_name}" >> $GITHUB_OUTPUT
echo "commit_title=${commit_title}" >> $GITHUB_OUTPUT
echo "commit_description=${commit_description}" >> $GITHUB_OUTPUT
- name: Create PR
id: create_pr
uses: peter-evans/create-pull-request@v5
with:
branch: ${{ steps.create_commit.outputs.branch_name }}
title: ${{ steps.create_commit.outputs.commit_title }}
body: ${{ steps.create_commit.outputs.commit_description }}
commit-message: ${{ steps.create_commit.outputs.commit_description }}
author: GitHub <[email protected]>
labels: auto-build
branch-suffix: timestamp
add-paths: |
public/front_end

0 comments on commit 33c87ee

Please sign in to comment.