Skip to content

Commit ccbd501

Browse files
committed
codeql: migrate apt-key to /etc/apt/trusted.gpg.d
1 parent 14e23a2 commit ccbd501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
sudo apt-get update
4444
sudo apt-get install apt-transport-https
4545
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./' >> /etc/apt/sources.list"
46-
wget -q "https://build.opensuse.org/projects/home:naemon:daily/public_key" -O - | sudo apt-key add -
46+
wget -q "https://build.opensuse.org/projects/home:naemon:daily/signing_keys/download?kind=gpg" -O - | sudo tee /etc/apt/trusted.gpg.d/obs.asc
4747
sudo apt-get update
4848
sudo apt-get autoremove -y
4949
sudo apt-get install -y devscripts build-essential equivs dpkg-dev valgrind cppcheck

0 commit comments

Comments
 (0)