Skip to content

Add SECURITY.md file #10

Add SECURITY.md file

Add SECURITY.md file #10

---
name: main
on:
pull_request:
types: [closed]
branches: ["main"]
env:
GO_VERSION: 1.21.5
NODE_VERSION: 18.x
jobs:
verify:
if: github.event.pull_request.merged == true
name: Verify
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go version
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Verify
run: |
make verify
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.branch.name=main
lint-repo:
name: Lint Repository
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node version
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Execute repolinter
run: |
echo "Installing repolinter"
npm install -g [email protected]
echo "Executing repolinter"
repolinter --rulesetFile repolinter.json --dryRun .
echo "Repolinter execution completed"