Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/actions-qa-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 1
analyse:
unanalysed:
- path: yaml/fail/analyse-workflow/workflows/**
justification:
hazard: "A fixture workflow that deliberately carries an actionlint expression error, so the YAML lane can prove it fails"
scope: "Only the YAML lane's failing workflow fixture, which GitHub never runs because it lies outside .github/workflows"
- path: yaml/pass/workflows/**
justification:
hazard: "A fixture workflow kept as data for the YAML lane's actionlint step, never as a workflow of this repository"
scope: "Only the YAML lane's passing workflow fixture, which GitHub never runs because it lies outside .github/workflows"
15 changes: 15 additions & 0 deletions .github/workflows/actions-qa-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: actions-qa-ci
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
actions-qa-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Check the workflows with actions-qa-ci
uses: LongTermSupport/actions-qa-ci@ad81f5c1a62b26b8dbffd51a2180df7ba3c0120b # v0.2.0
8 changes: 7 additions & 1 deletion .github/workflows/bash.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: bash
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/c.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: c
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: cpp
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: csharp

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/css.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: css

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/fsharp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: fsharp

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: go
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/html.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: html

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: java

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: javascript

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: kotlin

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: php

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: powershell

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: python

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: ruby

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: rust
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/sql.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: sql
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: swift

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: typescript

on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/yaml.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: yaml
on: [push, workflow_dispatch]
on:
push:
paths-ignore: ["**.md", "docs/**"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
Loading