Fix default branch in actions configurations

This commit is contained in:
Lawrence, Rendall
2022-04-12 18:13:34 +03:00
parent c1956d68f6
commit 1e5330ea7e
2 changed files with 2 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ on:
push:
branches:
- "!dependabot/*"
- "main"
- "master"
pull_request:
branches: [ "*" ]
jobs:
@@ -48,23 +48,9 @@ jobs:
- uses: "golangci/golangci-lint-action@v3"
with:
version: "v1.43"
skip-go-installation: true
skip-pkg-cache: true
skip-build-cache: false
extra-lint:
name: "Lint YAML & Markdown"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "bewuethr/yamllint-action@v1.1.1"
with:
config-file: ".yamllint"
- uses: "nosborn/github-action-markdown-cli@v3.0.1"
with:
files: "."
config_file: ".markdownlint.yaml"
codeql:
name: "Analyze with CodeQL"
runs-on: "ubuntu-latest"