Skip to content

Commit

Permalink
Update official build to run on PRs to release/vNext instead of to main
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnielsen-MS committed Jul 31, 2024
1 parent 068dec3 commit 3702461
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: security-devops-action Official Build
on:
pull_request:
branches:
- main
- release/vNext

permissions:
contents: read

jobs:
build:
if: github.base_ref == 'main' && github.head_ref == 'release/vNext'
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -40,7 +39,6 @@ jobs:
run: npm run build

- name: Commit compiled JavaScript
if: github.actor != 'github-actions[bot]'
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down

0 comments on commit 3702461

Please sign in to comment.