fix pkgcheck workflow
Signed-off-by: Anton Fischl <github@fischl-online.de>
This commit is contained in:
parent
867b79018c
commit
84c07e30d5
18
.github/workflows/pkgcheck.yml
vendored
Normal file
18
.github/workflows/pkgcheck.yml
vendored
Normal 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
|
33
.github/workflows/pkgcheck1.yml
vendored
33
.github/workflows/pkgcheck1.yml
vendored
@ -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
6
metadata/pkgcheck.conf
Normal file
@ -0,0 +1,6 @@
|
||||
[HomeAssistantRepository]
|
||||
checksets = all
|
||||
checks = -GitCommitMessageCheck,-VisibilityCheck,-RedundantVersionCheck
|
||||
exit = error,warning,style
|
||||
#keywords = -RedundantVersion
|
||||
|
Loading…
x
Reference in New Issue
Block a user