mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 22:25:33 +01:00
Simplify actions file
This commit is contained in:
parent
54f8602341
commit
71e0d41f06
1 changed files with 10 additions and 15 deletions
25
.github/workflows/yaml.yml
vendored
25
.github/workflows/yaml.yml
vendored
|
@ -1,28 +1,23 @@
|
||||||
# This is a basic workflow to help you get started with Actions
|
name: YAML Linting
|
||||||
|
|
||||||
name: YAML
|
|
||||||
|
|
||||||
# Controls when the action will run.
|
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the main branch
|
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
paths-ignore:
|
||||||
|
- "*.md"
|
||||||
|
- "LICENSE"
|
||||||
|
- "NOTICE"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
paths-ignore:
|
||||||
|
- "*.md"
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
- "LICENSE"
|
||||||
|
- "NOTICE"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
YAML-lint:
|
||||||
build:
|
|
||||||
# The type of runner that the job will run on
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# 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
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: YAML Lint
|
- name: YAML Lint
|
||||||
|
|
Loading…
Add table
Reference in a new issue