Merge pull request #60 from antonfischl1980/master

fix pkgcheck workflow
This commit is contained in:
Andreas Billmeier 2022-03-20 09:56:28 +01:00 committed by GitHub
commit ec091a7cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 33 deletions

18
.github/workflows/pkgcheck.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: pkgcheck
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '35 13 * * *' # Daily
jobs:
pkgcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run pkgcheck
uses: pkgcore/pkgcheck-action@v1

View File

@ -1,33 +0,0 @@
name: pkgcheck1
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '35 13 * * *' # Daily
jobs:
pkgcheck1:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonfischl1980/gentoo-ci:main
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: emerge-sync
run: |
sudo -u portage git -C /var/db/repos/gentoo pull
emerge --sync
- name: repos.conf/HomeAssistantRepository
run: |
mkdir -p /etc/portage/repos.conf/
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
cat /etc/portage/repos.conf/*.conf
- name: pkgcheck scan
run: |
pkgcheck scan -c=-RedundantVersionCheck,-VisibilityCheck

6
metadata/pkgcheck.conf Normal file
View File

@ -0,0 +1,6 @@
[HomeAssistantRepository]
checksets = all
checks = -GitCommitMessageCheck,-VisibilityCheck,-RedundantVersionCheck
exit = error,warning,style
#keywords = -RedundantVersion