Merge pull request #785 from deneb-alpha/fix_ubuntu_go #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |