Skip to content

Commit

Permalink
stop pushing to new branch on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Aug 27, 2024
1 parent fb764d8 commit 55fe85e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
mfem-ref: ${{ github.event_name == 'pull_request' && 'master' || inputs.mfem-ref }}
glvis-ref: ${{ github.event_name == 'pull_request' && 'master' || inputs.glvis-ref }}
emscripten-version: ${{ github.event_name == 'pull_request' && '3.1.51' || inputs.emscripten-version }}
make-branch: ${{ github.event_name == 'workflow_dispatch' && inputs.make-branch }}

name: >-
build glvis-js |
Expand Down Expand Up @@ -122,7 +121,7 @@ jobs:
retention-days: 1

- name: Push changes to a new branch
if: env.make-branch
if: ${{ github.event_name == 'workflow_dispatch' && inputs.make-branch }}
run: |
cd glvis-js
git config user.name "github-actions[bot]"
Expand Down

0 comments on commit 55fe85e

Please sign in to comment.