actions: Run YAML formatter over all workflow files

This commit is contained in:
ColorfulRhino
2024-07-10 00:42:34 +02:00
committed by Igor
parent 2a27fdd4d0
commit 6f664c92fd
10 changed files with 87 additions and 92 deletions

View File

@@ -4,7 +4,7 @@ run-name: Update board list at armbian/os - Pushed commit "${{ github.event.push
on:
push:
paths:
- 'config/boards/*.*'
- "config/boards/*.*"
branches: [main]
jobs:

View File

@@ -4,9 +4,9 @@ run-name: Run build train - Pushed commit "${{ github.event.push.head_commit.mes
on:
push:
branches:
- 'main'
- "main"
paths:
- 'config/*.config'
- "config/*.config"
jobs:
build-train-dispatch:

View File

@@ -5,12 +5,12 @@ on:
workflow_dispatch:
push:
branches:
- 'main'
- "main"
paths:
- '.github/labels.yml'
- ".github/labels.yml"
pull_request:
paths:
- '.github/labels.yml'
- ".github/labels.yml"
jobs:
labeler:
@@ -18,14 +18,15 @@ jobs:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
issues: write # for actions/labeler to add labels to issues
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Run Labeler
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -8,6 +8,7 @@ jobs:
sync:
name: Sync Items
runs-on: ubuntu-latest
steps:
- name: Sync
uses: igorpecovnik/github-action-issue-to-jira@master

View File

@@ -8,7 +8,6 @@ on:
- pull_request_target
jobs:
label-category:
permissions:
contents: read # for actions/labeler to determine modified files

View File

@@ -10,7 +10,6 @@ on:
types: [opened, reopened, synchronize, labeled]
jobs:
Check:
permissions:
pull-requests: read
@@ -21,7 +20,6 @@ jobs:
outputs:
member: ${{ steps.checkUserMember.outputs.isTeamMember }}
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
@@ -31,7 +29,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERS }}
Compile:
needs: Check
name: Generate artifacts
concurrency:

View File

@@ -21,14 +21,12 @@ concurrency:
cancel-in-progress: true
jobs:
Analysis:
name: Check kernel security options
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:

View File

@@ -17,14 +17,12 @@ concurrency:
cancel-in-progress: true
jobs:
Shellcheck:
name: Shell script analysis
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:

View File

@@ -4,7 +4,6 @@ run-name: Check comment for `/rebase`
# If you comment "/rebase" to the PR this Action will rebase the PR
#
on:
issue_comment:
types: [created]
@@ -18,12 +17,14 @@ jobs:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.8
env:

View File

@@ -6,7 +6,7 @@ on:
branch_protection_rule:
schedule:
# Weekly on Saturdays.
- cron: '30 1 * * 6'
- cron: "30 1 * * 6"
push:
branches: [main]