Skip to content

Commit 9cbeda8

Browse files
authored
Merge pull request #768 from nextcloud/backport/766/stable29
[stable29] ci(actions): add yaml workflow
2 parents ef55390 + 0ccea04 commit 9cbeda8

File tree

2 files changed

+39
-51
lines changed

2 files changed

+39
-51
lines changed

.github/workflows/command-rebase.yml

-51
This file was deleted.

.github/workflows/lint-yaml.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow is provided via the organization template repository
2+
#
3+
# https://github.com/nextcloud/.github
4+
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
8+
9+
name: Lint
10+
11+
on: pull_request
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
yaml-lint:
18+
runs-on: ubuntu-latest
19+
20+
name: yaml
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
with:
26+
persist-credentials: false
27+
28+
- name: GitHub action templates lint
29+
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
30+
with:
31+
file_or_dir: .github/workflows/
32+
config_data: |
33+
line-length: warning
34+
35+
- name: Install the latest version of uv
36+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
37+
38+
- name: Check GitHub actions
39+
run: uvx zizmor --min-severity medium .github/workflows/*.yml

0 commit comments

Comments
 (0)