Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Mar 22, 2024
1 parent e340713 commit 841f3eb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
fetch-depth: 2

- id: check_label
name: Check PL labels
Expand All @@ -40,12 +41,21 @@ jobs:
run: npm run buildCopy
working-directory: ui

- name: Get Last Commit
id: last_commit
run: |
echo "message=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
echo "author=$(git log -1 --pretty=\"%an <%ae>\")" >> $GITHUB_OUTPUT
- name: Commit and push changes
if: steps.check_label.outputs.label_check == 'success'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Add build files"
commit_author: ${{ steps.last_commit.outputs.author }}
commit_message: ${{ steps.last_commit.outputs.message }}
commit_options: "--amend --no-edit"
push_options: "--force"
skip_fetch: true
- name: Check static files uncommitted
run: |
Expand Down

0 comments on commit 841f3eb

Please sign in to comment.