Skip to content

Commit

Permalink
ci: dismiss code-analysis and dependency-review
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Nov 9, 2022
1 parent 86c5cb4 commit 23949c5
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 69 deletions.
116 changes: 59 additions & 57 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,59 @@
name: "CodeQL"

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- release/**
paths:
- "**.go"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
## Should be open after open-source

# name: "CodeQL"

# on:
# pull_request:
# paths:
# - "**.go"
# push:
# branches:
# - main
# - release/**
# paths:
# - "**.go"

# jobs:
# analyze:
# name: Analyze
# runs-on: ubuntu-latest
# permissions:
# actions: read
# contents: read
# security-events: write

# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - uses: actions/setup-go@v3
# with:
# go-version: 1.18
# # Initializes the CodeQL tools for scanning.
# - name: Initialize CodeQL
# uses: github/codeql-action/init@v2
# with:
# languages: "go"
# queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
# # If you wish to specify custom queries, you can do so here or in a config file.
# # By default, queries listed here will override any specified in a config file.
# # Prefix the list here with "+" to use these queries and those in the config file.
# # queries: ./path/to/local/query, your-org/your-repo/queries@main

# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# # If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

# # ℹ️ Command-line programs to run using the OS shell.
# # 📚 https://git.io/JvXDl

# # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# # and modify them (or add more) to build your code if your project
# # uses a compiled language

# #- run: |
# # make bootstrap
# # make release

# - name: Perform CodeQL Analysis
# uses: github/codeql-action/analyze@v2
26 changes: 14 additions & 12 deletions .github/workflows/dependencies-review.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: "Dependency Review"
on: [pull_request]
## Should be open after open-source

permissions:
contents: read
# name: "Dependency Review"
# on: [pull_request]

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Dependency Review"
uses: actions/dependency-review-action@v1
# permissions:
# contents: read

# jobs:
# dependency-review:
# runs-on: ubuntu-latest
# steps:
# - name: "Checkout Repository"
# uses: actions/checkout@v3
# - name: "Dependency Review"
# uses: actions/dependency-review-action@v1

0 comments on commit 23949c5

Please sign in to comment.