forked from uyuni-project/uyuni-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.06 KB
/
Copy pathchecks.yml
File metadata and controls
40 lines (36 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-FileCopyrightText: 2026 SUSE LLC
#
# SPDX-License-Identifier: Apache-2.0
name: Checks
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
l10n:
name: localizable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Check localizable strings
shell: bash -x {0}
run: ./check_localizable
- uses: cbosdo/gettext-go-lint@118d756ec8dc7b45cd5e560dcaaecf45fd17d891 # gettext-go-lint-0.1.1-0
name: Localizable strings linter
with:
keywords: L,NL,PL
copyrights:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
fetch-depth: 0
- name: Check copyright years
shell: sh -x {0}
run: |
git fetch origin ${{ github.base_ref }}
CHANGED_FILES=$(git diff --name-status origin/${{ github.base_ref }}...HEAD | grep -v "^D" | cut -f 2)
./update-copyright-year.sh $CHANGED_FILES