Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: .github/workflows/, .github/workflows/data/
Date: Thu, 30 Jun 2022 16:11:33
Message-Id: 1656605481.527bfec7bc602d4cbf0148a7c512da026a07b885.sam@gentoo
1 commit: 527bfec7bc602d4cbf0148a7c512da026a07b885
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Thu Jun 30 12:24:47 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 16:11:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=527bfec7
7
8 CI: add pkgcheck
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .github/workflows/data/layout.conf | 15 +++++++++++++++
14 .github/workflows/pkgcheck.yml | 23 +++++++++++++++++++++++
15 2 files changed, 38 insertions(+)
16
17 diff --git a/.github/workflows/data/layout.conf b/.github/workflows/data/layout.conf
18 new file mode 100644
19 index 0000000000..5214a28976
20 --- /dev/null
21 +++ b/.github/workflows/data/layout.conf
22 @@ -0,0 +1,15 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +masters = gentoo
27 +
28 +# Please keep this reasonably in sync with ::gentoo
29 +manifest-hashes = BLAKE2B SHA512
30 +manifest-required-hashes = BLAKE2B
31 +update-changelog = false
32 +cache-formats = md5-dict
33 +thin-manifests = true
34 +sign-commits = true
35 +sign-manifests = false
36 +eapis-banned = 0 1 2 3 4
37 +eapis-deprecated = 5 6
38
39 diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
40 new file mode 100644
41 index 0000000000..b461f72ab8
42 --- /dev/null
43 +++ b/.github/workflows/pkgcheck.yml
44 @@ -0,0 +1,23 @@
45 +name: pkgcheck
46 +
47 +on:
48 + push:
49 + branches: [ master ]
50 + pull_request:
51 + branches: [ master ]
52 +
53 +jobs:
54 + build:
55 + runs-on: ubuntu-latest
56 + steps:
57 + - uses: actions/checkout@v2
58 + - name: Setup ebuild repository
59 + run: |
60 + mkdir -p metadata
61 + cp .github/workflows/data/layout.conf metadata/
62 + mkdir -p profiles
63 + echo "prefix" > profiles/repo_name
64 + - name: Run pkgcheck
65 + uses: pkgcore/pkgcheck-action@v1
66 + with:
67 + args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate