mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
actions: Run YAML formatter over all workflow files
This commit is contained in:
2
.github/workflows/build-board-list.yml
vendored
2
.github/workflows/build-board-list.yml
vendored
@@ -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:
|
||||
|
||||
4
.github/workflows/build-train.yml
vendored
4
.github/workflows/build-train.yml
vendored
@@ -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:
|
||||
|
||||
15
.github/workflows/labels-from-yml.yml
vendored
15
.github/workflows/labels-from-yml.yml
vendored
@@ -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 }}
|
||||
|
||||
1
.github/workflows/open-jira-ticket.yml
vendored
1
.github/workflows/open-jira-ticket.yml
vendored
@@ -8,6 +8,7 @@ jobs:
|
||||
sync:
|
||||
name: Sync Items
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Sync
|
||||
uses: igorpecovnik/github-action-issue-to-jira@master
|
||||
|
||||
1
.github/workflows/pr-auto-labeler.yml
vendored
1
.github/workflows/pr-auto-labeler.yml
vendored
@@ -8,7 +8,6 @@ on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
|
||||
label-category:
|
||||
permissions:
|
||||
contents: read # for actions/labeler to determine modified files
|
||||
|
||||
3
.github/workflows/pr-build-artifacts.yml
vendored
3
.github/workflows/pr-build-artifacts.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
4
.github/workflows/pr-lint-scripts.yml
vendored
4
.github/workflows/pr-lint-scripts.yml
vendored
@@ -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:
|
||||
|
||||
5
.github/workflows/rebase.yml
vendored
5
.github/workflows/rebase.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/scorecard.yml
vendored
2
.github/workflows/scorecard.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
branch_protection_rule:
|
||||
schedule:
|
||||
# Weekly on Saturdays.
|
||||
- cron: '30 1 * * 6'
|
||||
- cron: "30 1 * * 6"
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user