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 cc64ff6 commit a6ff61a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
build:
Expand All @@ -17,7 +16,6 @@ jobs:
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.head_ref }}
fetch-depth: 1

- id: check_label
name: Check PL labels
Expand All @@ -40,16 +38,11 @@ jobs:
run: npm run buildCopy
working-directory: ui

- name: Commit static files if dependencies label
- name: Commit and push changes
if: steps.check_label.outputs.label_check == 'success'
run: |
if [[ $(git status --porcelain) ]]; then
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit --amend --no-edit
git push --force
fi
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Add build files"

- name: Check static files uncommitted
run: |
Expand Down

0 comments on commit a6ff61a

Please sign in to comment.