-
-
Notifications
You must be signed in to change notification settings - Fork 15
32 lines (30 loc) · 984 Bytes
/
gpg_signatures.yml
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
---
name: gpg
on:
push:
branches:
- '**'
paths:
- '.github/workflows/gpg_signatures.yml'
- 'lib/CPAN/Audit/DB.pm'
- 'briandfoy-gpg-key-selfie.jpeg'
- '**.gpg'
pull_request:
jobs:
gpg:
runs-on: ubuntu-20.04
steps:
- name: setup GPG
run: |
sudo apt-get update
sudo apt-get -y install gnupg
gpg --keyserver keys.openpgp.org --recv-keys 75AAB42CBA0D7F37F0D6886DF83F8D5E878B6041 867D53B08E433DF401A06EF49A9C0FE7F64876BF
- uses: actions/checkout@v3
- name: Check DB
run: |
gpg --verify lib/CPANSA/DB.pm.gpg lib/CPANSA/DB.pm
gpg --verify cpan-security-advisory.json.gpg cpan-security-advisory.json
- name: Check selfie
run: |
gpg --verify images/bdfoycpanorg-gpg-key-selfie.jpeg.gpg images/briandfoy-gpg-key-selfie.jpeg
gpg --verify images/briandfoypoboxcom-gpg-key-selfie.jpeg.gpg images/briandfoy-gpg-key-selfie.jpeg