Skip to content

Commit b3e48a2

Browse files
Merge pull request microsoft#107 from microsoft/feature/autoCompileJs
Update official build to run on PRs to release/vNext instead of to main
2 parents 068dec3 + fb4fcd5 commit b3e48a2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/official-build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name: security-devops-action Official Build
33
on:
44
pull_request:
55
branches:
6-
- main
6+
- release/vNext
77

88
permissions:
99
contents: read
1010

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

1615
permissions:
@@ -40,7 +39,6 @@ jobs:
4039
run: npm run build
4140

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

lib/msdo-helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var Tools;
2525
(function (Tools) {
2626
Tools["Bandit"] = "bandit";
2727
Tools["Binskim"] = "binskim";
28+
Tools["Checkov"] = "checkov";
2829
Tools["ContainerMapping"] = "container-mapping";
2930
Tools["ESLint"] = "eslint";
3031
Tools["TemplateAnalyzer"] = "templateanalyzer";

0 commit comments

Comments
 (0)