Merge branch 'main' into patch-3

This commit is contained in:
Sampark Sharma
2022-03-31 16:31:52 +05:30
committed by GitHub
128 changed files with 1093 additions and 264 deletions
+1 -1
View File
@@ -11,6 +11,6 @@ jobs:
triage: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@v3 - uses: actions/labeler@v4
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v3 - uses: actions/stale@v5
with: with:
stale-issue-message: 'This issue has become stale and will be closed automatically within a period of time. Sorry about that.' stale-issue-message: 'This issue has become stale and will be closed automatically within a period of time. Sorry about that.'
stale-pr-message: 'This pull request has become stale and will be closed automatically within a period of time. Sorry about that.' stale-pr-message: 'This pull request has become stale and will be closed automatically within a period of time. Sorry about that.'
+2 -2
View File
@@ -11,12 +11,12 @@ jobs:
contents: write contents: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- run: | - run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git config user.email "[email protected]" git config user.email "[email protected]"
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: '12' node-version: '12'
- name: Check starter workflows for GHES compat - name: Check starter workflows for GHES compat
+2 -2
View File
@@ -10,9 +10,9 @@ jobs:
contents: read contents: read
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: "12" node-version: "12"
+1 -1
View File
@@ -17,6 +17,6 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/labeler@v2 - uses: actions/labeler@v4
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/stale@v3 - uses: actions/stale@v5
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message' stale-issue-message: 'Stale issue message'
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set up GNAT toolchain - name: Set up GNAT toolchain
run: > run: >
+2 -2
View File
@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: set up JDK 11 - name: set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+2 -2
View File
@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Runs a single command using the runners shell # Runs a single command using the runners shell
- name: Run a one-line script - name: Run a one-line script
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: configure - name: configure
run: ./configure run: ./configure
- name: make - name: make
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: lein deps run: lein deps
- name: Run tests - name: Run tests
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Configure CMake - name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
image: crystallang/crystal image: crystallang/crystal
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: shards install run: shards install
- name: Run tests - name: Run tests
+4 -1
View File
@@ -10,13 +10,16 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7 - uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
- name: 'Build & Test' - name: 'Build & Test'
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Note: This workflow uses the latest stable version of the Dart SDK. # Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here: # You can specify other versions if desired, see documentation here:
+38
View File
@@ -0,0 +1,38 @@
# This workflow will trigger Datadog Synthetic tests within your Datadog organisation
# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# To get started:
# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/.
# 2. Start using the action within your workflow
name: Run Datadog Synthetic tests
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Run Synthetic tests within your GitHub workflow.
# For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci
- name: Run Datadog Synthetic tests
uses: DataDog/synthetics-ci-github-action@2b56dc0cca9daa14ab69c0d1d6844296de8f941e
with:
api_key: ${{secrets.DD_API_KEY}}
app_key: ${{secrets.DD_APP_KEY}}
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
+4 -1
View File
@@ -14,13 +14,16 @@ on:
pull_request: pull_request:
branches: [$default-branch] branches: [$default-branch]
permissions:
contents: read
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup repo - name: Setup repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup Deno - name: Setup Deno
# uses: denoland/setup-deno@v1 # uses: denoland/setup-deno@v1
+2 -2
View File
@@ -16,9 +16,9 @@ jobs:
python-version: [3.7, 3.8, 3.9] python-version: [3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install Dependencies - name: Install Dependencies
+1 -1
View File
@@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
# Install the cosign tool except on PR # Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer # https://github.com/sigstore/cosign-installer
+3 -3
View File
@@ -63,13 +63,13 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
# Install the .NET Core workload # Install the .NET Core workload
- name: Install .NET Core - name: Install .NET Core
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v2
with: with:
dotnet-version: 5.0.x dotnet-version: 5.0.x
@@ -109,7 +109,7 @@ jobs:
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: MSIX Package name: MSIX Package
path: ${{ env.Wap_Project_Directory }}\AppPackages path: ${{ env.Wap_Project_Directory }}\AppPackages
+2 -2
View File
@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v2
with: with:
dotnet-version: 5.0.x dotnet-version: 5.0.x
- name: Restore dependencies - name: Restore dependencies
+5 -2
View File
@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
@@ -13,14 +16,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Elixir - name: Set up Elixir
uses: erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f uses: erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f
with: with:
elixir-version: '1.12.3' # Define the elixir version [required] elixir-version: '1.12.3' # Define the elixir version [required]
otp-version: '24.1' # Define the OTP version [required] otp-version: '24.1' # Define the OTP version [required]
- name: Restore dependencies cache - name: Restore dependencies cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: deps path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
+4 -1
View File
@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
@@ -16,7 +19,7 @@ jobs:
image: erlang:22.0.7 image: erlang:22.0.7
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Compile - name: Compile
run: rebar3 compile run: rebar3 compile
- name: Run tests - name: Run tests
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Ruby 2.6 - name: Set up Ruby 2.6
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
+2 -2
View File
@@ -11,10 +11,10 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.17
+4 -4
View File
@@ -20,9 +20,9 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
@@ -30,14 +30,14 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Gradle - name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7 uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with: with:
arguments: build arguments: build
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in # The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle # the publishing section of your build.gradle
- name: Publish to GitHub Packages - name: Publish to GitHub Packages
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7 uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with: with:
arguments: publish arguments: publish
env: env:
+3 -3
View File
@@ -22,13 +22,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
- name: Build with Gradle - name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7 uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with: with:
arguments: build arguments: build
+5 -2
View File
@@ -6,20 +6,23 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-haskell@v1 - uses: actions/setup-haskell@v1
with: with:
ghc-version: '8.10.3' ghc-version: '8.10.3'
cabal-version: '3.2' cabal-version: '3.2'
- name: Cache - name: Cache
uses: actions/cache@v1 uses: actions/cache@v3
env: env:
cache-name: cache-cabal cache-name: cache-cabal
with: with:
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set Default Scheme - name: Set Default Scheme
run: | run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n") scheme_list=$(xcodebuild -list -json | tr -d "\n")
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build the site in the jekyll/builder container - name: Build the site in the jekyll/builder container
run: | run: |
docker run \ docker run \
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e - uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with: with:
php-version: '8.0' php-version: '8.0'
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env - name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');" run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies - name: Install Dependencies
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: configure - name: configure
run: ./configure run: ./configure
+2 -2
View File
@@ -16,9 +16,9 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+2 -2
View File
@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+6 -2
View File
@@ -1,6 +1,10 @@
name: MSBuild name: MSBuild
on: [push] on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
env: env:
# Path to the solution file relative to the root of the project. # Path to the solution file relative to the root of the project.
@@ -16,7 +20,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Add MSBuild to PATH - name: Add MSBuild to PATH
uses: microsoft/[email protected] uses: microsoft/[email protected]
+2 -2
View File
@@ -20,9 +20,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
+2 -2
View File
@@ -15,10 +15,10 @@ jobs:
node-version: [12.x, 14.x, 16.x] node-version: [12.x, 14.x, 16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
+2 -2
View File
@@ -15,10 +15,10 @@ jobs:
node-version: [12.x, 14.x, 16.x] node-version: [12.x, 14.x, 16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
+4 -4
View File
@@ -11,8 +11,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
- run: npm ci - run: npm ci
@@ -25,8 +25,8 @@ jobs:
contents: read contents: read
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
registry-url: $registry-url(npm) registry-url: $registry-url(npm)
+4 -4
View File
@@ -11,8 +11,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
- run: npm ci - run: npm ci
@@ -22,8 +22,8 @@ jobs:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set Default Scheme - name: Set Default Scheme
run: | run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n") scheme_list=$(xcodebuild -list -json | tr -d "\n")
+5 -2
View File
@@ -6,20 +6,23 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Validate composer.json and composer.lock - name: Validate composer.json and composer.lock
run: composer validate --strict run: composer validate --strict
- name: Cache Composer packages - name: Cache Composer packages
id: composer-cache id: composer-cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: vendor path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -0,0 +1,7 @@
{
"name": "Datadog Synthetics",
"description": "Run Datadog Synthetic tests within your GitHub Actions workflow",
"creator": "Datadog",
"iconName": "datadog",
"categories": ["Continuous integration", "JavaScript", "TypeScript", "Testing"]
}
+2 -2
View File
@@ -9,9 +9,9 @@ jobs:
matrix: matrix:
python-version: ["3.8", "3.9", "3.10"] python-version: ["3.8", "3.9", "3.10"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
+5 -2
View File
@@ -9,15 +9,18 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: "3.10" python-version: "3.10"
- name: Install dependencies - name: Install dependencies
+2 -2
View File
@@ -9,9 +9,9 @@ jobs:
max-parallel: 5 max-parallel: 5
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: 3.10 python-version: 3.10
- name: Add conda to system path - name: Add conda to system path
+2 -2
View File
@@ -19,9 +19,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10"] python-version: ["3.8", "3.9", "3.10"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
+2 -2
View File
@@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
+4 -1
View File
@@ -14,6 +14,9 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: macos-latest runs-on: macos-latest
@@ -22,7 +25,7 @@ jobs:
r-version: ['3.6.3', '4.1.1'] r-version: ['3.6.3', '4.1.1']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up R ${{ matrix.r-version }} - name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
with: with:
+4 -1
View File
@@ -13,6 +13,9 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
test: test:
@@ -22,7 +25,7 @@ jobs:
ruby-version: ['2.6', '2.7', '3.0'] ruby-version: ['2.6', '2.7', '3.0']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Ruby - name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning): # change this to (see https://github.com/ruby/setup-ruby#versioning):
+2 -2
View File
@@ -27,7 +27,7 @@ jobs:
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test" DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
# Add or replace dependency steps here # Add or replace dependency steps here
- name: Install Ruby and gems - name: Install Ruby and gems
uses: ruby/setup-ruby@8f312efe1262fb463d906e9bf040319394c18d3e # v1.92 uses: ruby/setup-ruby@8f312efe1262fb463d906e9bf040319394c18d3e # v1.92
@@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Install Ruby and gems - name: Install Ruby and gems
uses: ruby/setup-ruby@8f312efe1262fb463d906e9bf040319394c18d3e # v1.92 uses: ruby/setup-ruby@8f312efe1262fb463d906e9bf040319394c18d3e # v1.92
with: with:
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
+5 -2
View File
@@ -6,15 +6,18 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# Full git history is needed to get a proper list of changed files within `super-linter` # Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0 fetch-depth: 0
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: swift build -v run: swift build -v
- name: Run tests - name: Run tests
+5 -2
View File
@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
symfony-tests: symfony-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -16,12 +19,12 @@ jobs:
- uses: shivammathur/setup-php@2cb9b829437ee246e9b3cac53555a39208ca6d28 - uses: shivammathur/setup-php@2cb9b829437ee246e9b3cac53555a39208ca6d28
with: with:
php-version: '8.0' php-version: '8.0'
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env.test.local - name: Copy .env.test.local
run: php -r "file_exists('.env.test.local') || copy('.env.test', '.env.test.local');" run: php -r "file_exists('.env.test.local') || copy('.env.test', '.env.test.local');"
- name: Cache Composer packages - name: Cache Composer packages
id: composer-cache id: composer-cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: vendor path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
+2 -2
View File
@@ -15,10 +15,10 @@ jobs:
node-version: [12.x, 14.x, 16.x] node-version: [12.x, 14.x, 16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout the code - name: Checkout the code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file Dockerfile --tag localbuild/testimage:latest run: docker build . --file Dockerfile --tag localbuild/testimage:latest
- name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled - name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
+5
View File
@@ -42,8 +42,13 @@ on:
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
jobs: jobs:
Trigger APIsec scan: Trigger APIsec scan:
permissions:
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
+7 -1
View File
@@ -17,14 +17,20 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
brakeman-scan: brakeman-scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Brakeman Scan name: Brakeman Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Checkout the repository to the GitHub Actions runner # Checkout the repository to the GitHub Actions runner
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
# Customize the ruby version depending on your needs # Customize the ruby version depending on your needs
- name: Setup Ruby - name: Setup Ruby
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# Steps require - checkout code, run CxFlow Action, Upload SARIF report (optional) # Steps require - checkout code, run CxFlow Action, Upload SARIF report (optional)
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Runs the Checkmarx Scan leveraging the latest version of CxFlow - REFER to Action README for list of inputs # Runs the Checkmarx Scan leveraging the latest version of CxFlow - REFER to Action README for list of inputs
- name: Checkmarx CxFlow Action - name: Checkmarx CxFlow Action
uses: checkmarx-ts/checkmarx-cxflow-github-action@9975af7d6b957abec9ee9646effa3fb3b82c5314 uses: checkmarx-ts/checkmarx-cxflow-github-action@9975af7d6b957abec9ee9646effa3fb3b82c5314
+43
View File
@@ -0,0 +1,43 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: clj-holmes
on:
push:
branches: [ $default-branch, $protected-branches ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ $default-branch ]
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
clj-holmes:
name: Run clj-holmes scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Scan code
uses: clj-holmes/clj-holmes-action@200d2d03900917d7eb3c24fc691ab83579a87fcb
with:
rules-repository: 'git://org/private-rules-repo#main'
output-type: 'sarif'
output-file: 'clj-holmes-results.sarif'
fail-on-result: 'false'
- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{github.workspace}}/clj-holmes-results.sarif
ait-for-processing: true
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Clone repo - name: Clone repo
uses: actions/checkout@v2 uses: actions/checkout@v3
# For Terraform, Cloudrail requires the plan as input. So we generate it using # For Terraform, Cloudrail requires the plan as input. So we generate it using
# the Terraform core binary. # the Terraform core binary.
+7 -1
View File
@@ -22,14 +22,20 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
codacy-security-scan: codacy-security-scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Codacy Security Scan name: Codacy Security Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Checkout the repository to the GitHub Actions runner # Checkout the repository to the GitHub Actions runner
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI - name: Run Codacy Analysis CLI
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
+2 -2
View File
@@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Cache files - name: Cache files
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.sonar ~/.sonar
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
security-events: write # for 42Crunch/api-security-audit-action to upload results to Github Code Scanning security-events: write # for 42Crunch/api-security-audit-action to upload results to Github Code Scanning
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 42Crunch REST API Static Security Testing - name: 42Crunch REST API Static Security Testing
uses: 42Crunch/api-security-audit-action@96228d9c48873fe001354047d47fb62be42abeb1 uses: 42Crunch/api-security-audit-action@96228d9c48873fe001354047d47fb62be42abeb1
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Gets the download URL associated with the $DETEKT_RELEASE_TAG # Gets the download URL associated with the $DETEKT_RELEASE_TAG
- name: Get Detekt download URL - name: Get Detekt download URL
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
security-events: write security-events: write
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Run DevSkim scanner - name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1 uses: microsoft/DevSkim-Action@v1
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
security-events: write security-events: write
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: flawfinder_scan - name: flawfinder_scan
uses: david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c uses: david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c
+4 -3
View File
@@ -39,14 +39,15 @@ jobs:
steps: steps:
# Check out source code # Check out source code
- name: Check Out Source Code - name: Check Out Source Code
uses: actions/checkout@v2 uses: actions/checkout@v3
# Java is required to run the various Fortify utilities. # Java is required to run the various Fortify utilities.
# When scanning a Java application, please use the appropriate Java version for building your application. # When scanning a Java application, please use the appropriate Java version for building your application.
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v1 uses: actions/setup-java@v3
with: with:
java-version: 1.8 java-version: 8
distribution: 'temurin'
# Prepare source+dependencies for upload. The default example is for a Maven project that uses pom.xml. # Prepare source+dependencies for upload. The default example is for a Maven project that uses pom.xml.
# TODO: Update PACKAGE_OPTS based on the ScanCentral Client documentation for your project's included tech stack(s). Helpful hints: # TODO: Update PACKAGE_OPTS based on the ScanCentral Client documentation for your project's included tech stack(s). Helpful hints:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
security-events: write security-events: write
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Run kubesec scanner - name: Run kubesec scanner
uses: controlplaneio/kubesec-action@43d0ddff5ffee89a6bb9f29b64cd865411137b14 uses: controlplaneio/kubesec-action@43d0ddff5ffee89a6bb9f29b64cd865411137b14
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
contents: read contents: read
security-events: write security-events: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Run your API in the background. Ideally, the API would run in debug # Run your API in the background. Ideally, the API would run in debug
# mode & send stacktraces back on "500 Internal Server Error" responses # mode & send stacktraces back on "500 Internal Server Error" responses
+8 -2
View File
@@ -13,15 +13,21 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
mobile-security: mobile-security:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup python - name: Setup python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: 3.8 python-version: 3.8
+8 -2
View File
@@ -20,14 +20,20 @@ env:
# Path to the CMake build directory. # Path to the CMake build directory.
build: '${{ github.workspace }}/build' build: '${{ github.workspace }}/build'
permissions:
contents: read
jobs: jobs:
analyze: analyze:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Analyze name: Analyze
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Configure CMake - name: Configure CMake
run: cmake -B ${{ env.build }} run: cmake -B ${{ env.build }}
@@ -53,7 +59,7 @@ jobs:
# Upload SARIF file as an Artifact to download and view # Upload SARIF file as an Artifact to download and view
# - name: Upload SARIF as an Artifact # - name: Upload SARIF as an Artifact
# uses: actions/upload-artifact@v2 # uses: actions/upload-artifact@v3
# with: # with:
# name: sarif-file # name: sarif-file
# path: ${{ steps.run-analysis.outputs.sarif }} # path: ${{ steps.run-analysis.outputs.sarif }}
+7 -1
View File
@@ -17,13 +17,19 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
njsscan: njsscan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: njsscan code scanning name: njsscan code scanning
steps: steps:
- name: Checkout the code - name: Checkout the code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: nodejsscan scan - name: nodejsscan scan
id: njsscan id: njsscan
uses: ajinabraham/njsscan-action@7237412fdd36af517e2745077cedbf9d6900d711 uses: ajinabraham/njsscan-action@7237412fdd36af517e2745077cedbf9d6900d711
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Build your application - name: Build your application
run: ./gradlew assembleDebug # Update this to build your Android or iOS application run: ./gradlew assembleDebug # Update this to build your Android or iOS application
+2 -2
View File
@@ -25,7 +25,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
# Ensure a compatible version of dotnet is installed. # Ensure a compatible version of dotnet is installed.
# The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201. # The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
@@ -33,7 +33,7 @@ jobs:
# GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped. # GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action: # For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
# - name: Install .NET # - name: Install .NET
# uses: actions/setup-dotnet@v1 # uses: actions/setup-dotnet@v2
# with: # with:
# dotnet-version: '3.1.x' # dotnet-version: '3.1.x'
+2 -2
View File
@@ -17,9 +17,9 @@ jobs:
pmd-code-scan: pmd-code-scan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '11'
distribution: 'temurin' distribution: 'temurin'
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
name: PSScriptAnalyzer name: PSScriptAnalyzer
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Run PSScriptAnalyzer - name: Run PSScriptAnalyzer
uses: microsoft/psscriptanalyzer-action@2044ae068e37d0161fa2127de04c19633882f061 uses: microsoft/psscriptanalyzer-action@2044ae068e37d0161fa2127de04c19633882f061
+7 -1
View File
@@ -21,13 +21,19 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
prisma_cloud_iac_scan: prisma_cloud_iac_scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Run Prisma Cloud IaC Scan to check name: Run Prisma Cloud IaC Scan to check
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- id: iac-scan - id: iac-scan
name: Run Scan on CFT files in the repository name: Run Scan on CFT files in the repository
uses: prisma-cloud-shiftleft/iac-scan-action@53278c231c438216d99b463308a3cbed351ba0c3 uses: prisma-cloud-shiftleft/iac-scan-action@53278c231c438216d99b463308a3cbed351ba0c3
@@ -0,0 +1,10 @@
{
"name": "clj-holmes",
"creator": "Matheus Bernardes",
"description": "A Static Application Security Testing tool to find vulnerable Clojure code via rules that use a simple pattern language.",
"iconName": "clj-holmes",
"categories": [
"Code Scanning",
"clojure"
]
}
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
# If running on a self-hosted runner, check it meets the requirements # If running on a self-hosted runner, check it meets the requirements
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners # listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
+3 -3
View File
@@ -22,12 +22,12 @@ jobs:
steps: steps:
- name: "Checkout code" - name: "Checkout code"
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0 uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
with: with:
persist-credentials: false persist-credentials: false
- name: "Run analysis" - name: "Run analysis"
uses: ossf/scorecard-action@c8416b0b2bf627c349ca92fc8e3de51a64b005cf # v1.0.2 uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1 # v1.0.4
with: with:
results_file: results.sarif results_file: results.sarif
results_format: sarif results_format: sarif
@@ -42,7 +42,7 @@ jobs:
# Upload the results as artifacts (optional). # Upload the results as artifacts (optional).
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1 uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
SCS: SCS:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: nuget/setup-nuget@04b0c2b8d1b97922f67eca497d7cf0bf17b8ffe1 - uses: nuget/setup-nuget@04b0c2b8d1b97922f67eca497d7cf0bf17b8ffe1
- uses: microsoft/[email protected] - uses: microsoft/[email protected]
+7 -1
View File
@@ -19,13 +19,19 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
semgrep: semgrep:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Scan name: Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Checkout project source # Checkout project source
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Scan code using project's configuration on https://semgrep.dev/manage # Scan code using project's configuration on https://semgrep.dev/manage
- uses: returntocorp/semgrep-action@fcd5ab7459e8d91cb1777481980d1b18b4fc6735 - uses: returntocorp/semgrep-action@fcd5ab7459e8d91cb1777481980d1b18b4fc6735
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
# Scan runs on ubuntu, mac and windows # Scan runs on ubuntu, mac and windows
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# Instructions # Instructions
# 1. Setup JDK, Node.js, Python etc depending on your project type # 1. Setup JDK, Node.js, Python etc depending on your project type
# 2. Compile or build the project before invoking scan # 2. Compile or build the project before invoking scan
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
snyk: snyk:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build a Docker image - name: Build a Docker image
run: docker build -t your/image-to-test . run: docker build -t your/image-to-test .
- name: Run Snyk to check Docker image for vulnerabilities - name: Run Snyk to check Docker image for vulnerabilities
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
snyk: snyk:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Run Snyk to check configuration files for security issues - name: Run Snyk to check configuration files for security issues
# Snyk can be used to break the build when it detects security issues. # Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the issues to GitHub Code Scanning # In this case we want to upload the issues to GitHub Code Scanning
+7 -1
View File
@@ -37,13 +37,19 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
stackhawk: stackhawk:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for stackhawk/hawkscan-action to upload code scanning alert info
name: StackHawk name: StackHawk
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Start your service - name: Start your service
run: ./your-service.sh & # ✏️ Update this to run your own service to be scanned run: ./your-service.sh & # ✏️ Update this to run your own service to be scanned
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Synopsys Intelligent Security Scan - name: Synopsys Intelligent Security Scan
id: prescription id: prescription
+8 -1
View File
@@ -13,14 +13,21 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
build: build:
permissions:
checks: write # for sysdiglabs/scan-action to publish the checks
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build the Docker image - name: Build the Docker image
# Tag image to be built # Tag image to be built
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Clone repo - name: Clone repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Run tfsec - name: Run tfsec
uses: tfsec/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f uses: tfsec/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
runs-on: "ubuntu-18.04" runs-on: "ubuntu-18.04"
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Build an image from Dockerfile - name: Build an image from Dockerfile
run: | run: |
+10 -3
View File
@@ -17,15 +17,21 @@ on:
- cron: $cron-weekly - cron: $cron-weekly
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
contents: read
jobs: jobs:
# This workflow contains a job to build and submit pipeline scan, you will need to customize the build process accordingly and make sure the artifact you build is used as the file input to the pipeline scan file parameter # This workflow contains a job to build and submit pipeline scan, you will need to customize the build process accordingly and make sure the artifact you build is used as the file input to the pipeline scan file parameter
build-and-pipeline-scan: build-and-pipeline-scan:
# The type of runner that the job will run on # The type of runner that the job will run on
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it and copies all sources into ZIP file for submitting for analysis. Replace this section with your applications build steps # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it and copies all sources into ZIP file for submitting for analysis. Replace this section with your applications build steps
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
repository: '' repository: ''
@@ -35,9 +41,10 @@ jobs:
- run: curl --silent --show-error --fail -O https://downloads.veracode.com/securityscan/pipeline-scan-LATEST.zip - run: curl --silent --show-error --fail -O https://downloads.veracode.com/securityscan/pipeline-scan-LATEST.zip
- run: unzip -o pipeline-scan-LATEST.zip - run: unzip -o pipeline-scan-LATEST.zip
- uses: actions/setup-java@v1 - uses: actions/setup-java@v3
with: with:
java-version: 1.8 java-version: 8
distribution: 'temurin'
- run: java -jar pipeline-scan.jar --veracode_api_id "${{secrets.VERACODE_API_ID}}" --veracode_api_key "${{secrets.VERACODE_API_KEY}}" --fail_on_severity="Very High, High" --file veracode-scan-target.zip - run: java -jar pipeline-scan.jar --veracode_api_id "${{secrets.VERACODE_API_ID}}" --veracode_api_key "${{secrets.VERACODE_API_KEY}}" --fail_on_severity="Very High, High" --file veracode-scan-target.zip
continue-on-error: true continue-on-error: true
- name: Convert pipeline scan output to SARIF format - name: Convert pipeline scan output to SARIF format
+4 -3
View File
@@ -50,14 +50,15 @@ jobs:
steps: steps:
# Check out the repository # Check out the repository
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
# Set up the correct Java version for your project # Set up the correct Java version for your project
# Please comment out, if your project does not contain Java source code. # Please comment out, if your project does not contain Java source code.
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v3
with: with:
java-version: 11 java-version: 11
distribution: 'temurin'
# Compile the code for Java projects and get all libraries, e.g. via Maven # Compile the code for Java projects and get all libraries, e.g. via Maven
# Please adapt, if your project uses another build system to compile Java source code. # Please adapt, if your project uses another build system to compile Java source code.
@@ -79,7 +80,7 @@ jobs:
license: ${{ secrets.XANITIZER_LICENSE }} license: ${{ secrets.XANITIZER_LICENSE }}
# Archiving the findings list reports # Archiving the findings list reports
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: Xanitizer-Reports name: Xanitizer-Reports
path: | path: |
+2 -2
View File
@@ -47,7 +47,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
# 1.1 Login to ACR # 1.1 Login to ACR
- name: Login to ACR with the AccessKey pair - name: Login to ACR with the AccessKey pair
@@ -74,7 +74,7 @@ jobs:
tag: "${{ env.TAG }}" tag: "${{ env.TAG }}"
# 2.1 (Optional) Login to ACR EE # 2.1 (Optional) Login to ACR EE
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Login to ACR EE with the AccessKey pair - name: Login to ACR EE with the AccessKey pair
uses: aliyun/acr-login@v1 uses: aliyun/acr-login@v1
with: with:
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Configure AWS credentials - name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1

Some files were not shown because too many files have changed in this diff Show More