Skip to content

Commit

Permalink
test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Mar 10, 2023
1 parent 6990b70 commit b91c3f9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Pull Request
on:
pull_request:
branches:
- master
- main
- development

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- master
- main
- development
tags:
- v*
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Anchore-Grype Security Scans

on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
branches: [ "main" ]
schedule:
# Run this against the default branch every Monday at 5:30AM
- cron: '30 5 * * 2'
Expand Down
Empty file modified build/tests/test.json.logging.sh
100644 → 100755
Empty file.
4 changes: 1 addition & 3 deletions workbench/alerts/Task.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ component {
variables.baseUrl = "https://api.github.com/repos/#variables.repo#/code-scanning/alerts";

// Retreive the current alerts
var currentPage = 1;
var hasActiveAlerts = true;

while( hasActiveAlerts ){
Expand All @@ -29,7 +28,7 @@ component {
"sort" : "updated",
"direction" : "asc",
"per_page" : 100,
"page" : currentPage
"page" : 1
} )
.setThrowOnError( true )
.asJSON()
Expand All @@ -43,7 +42,6 @@ component {
} else {
print.greenLine( 'Retrieved #alerts.len()# alerts' );
alerts.each( dismissAlert );
currentPage++;
}
} else {
print.redLine( 'An . The message received was: #serializeJSON( response.json() )#' );
Expand Down

0 comments on commit b91c3f9

Please sign in to comment.