Skip to content

Commit

Permalink
WEBUI-1572: schedule veracode scan and update artifact v3 (#2315)
Browse files Browse the repository at this point in the history
* WEBUI-1572: schedule veracode scan and update artifact v3

* WEBUI-1572: schedule veracode scan & remove workflow call

* WEBUI-1572: schedule veracode scan & remove workflow call
  • Loading branch information
rakeshkumar1019 authored Sep 13, 2024
1 parent d58ebfb commit dcc7a42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 50 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/veracode-3.0.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,11 @@ name: Veracode Maintenance 3.0.x
on:
schedule:
- cron: '30 14 * * *' # 14:30 UTC = 8:00 PM IST
workflow_call:
inputs:
branch:
description: 'The branch to Analyze'
type: string
required: true
secrets:
NPM_PACKAGES_TOKEN:
description: 'NPM_PACKAGES_TOKEN'
required: true
PACKAGES_AUTH_USER:
description: 'PACKAGES_AUTH_USER'
required: true
PACKAGES_AUTH_TOKEN:
description: 'PACKAGES_AUTH_TOKEN'
required: true
VERACODE_API_ID:
description: 'VERACODE_API_ID'
required: true
VERACODE_API_KEY:
description: 'VERACODE_API_KEY'
required: true

env:
REFERENCE_BRANCH: maintenance-3.0.x
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.0.x' }}
BRANCH_NAME: ${{ 'maintenance-3.0.x' }}

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
Expand Down Expand Up @@ -167,7 +145,7 @@ jobs:
zip -r nuxeo-web-ui.zip *
- name: Upload ZIP as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nuxeo-web-ui
path: nuxeo-web-ui.zip
Expand All @@ -181,7 +159,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nuxeo-web-ui
path: .
Expand Down
28 changes: 3 additions & 25 deletions .github/workflows/veracode-3.1.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,11 @@ name: Veracode Maintenance 3.1.x
on:
schedule:
- cron: '30 15 * * *' # 15:30 UTC = 9:00 PM IST
workflow_call:
inputs:
branch:
description: 'The branch to Analyze'
type: string
required: true
secrets:
NPM_PACKAGES_TOKEN:
description: 'NPM_PACKAGES_TOKEN'
required: true
PACKAGES_AUTH_USER:
description: 'PACKAGES_AUTH_USER'
required: true
PACKAGES_AUTH_TOKEN:
description: 'PACKAGES_AUTH_TOKEN'
required: true
VERACODE_API_ID:
description: 'VERACODE_API_ID'
required: true
VERACODE_API_KEY:
description: 'VERACODE_API_KEY'
required: true

env:
REFERENCE_BRANCH: maintenance-3.1.x
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }}
BRANCH_NAME: ${{'maintenance-3.1.x' }}

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
Expand Down Expand Up @@ -167,7 +145,7 @@ jobs:
zip -r nuxeo-web-ui.zip *
- name: Upload ZIP as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nuxeo-web-ui
path: nuxeo-web-ui.zip
Expand All @@ -181,7 +159,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nuxeo-web-ui
path: .
Expand Down

0 comments on commit dcc7a42

Please sign in to comment.