Skip to content

Commit 7d4f5bc

Browse files
committed
GitHub actions disable GPG signature check.
1 parent 10e1ddd commit 7d4f5bc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci-format.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
- uses: actions/setup-python@v4.4.0
1515
with:
1616
python-version: "3.10"
17+
- name: Fix GPG signature issues
18+
run: |
19+
sudo apt-get update --allow-unauthenticated || true
20+
echo 'APT::Get::AllowUnauthenticated "true";' | sudo tee /etc/apt/apt.conf.d/99allow-unauth
21+
echo 'Acquire::AllowInsecureRepositories "true";' | sudo tee -a /etc/apt/apt.conf.d/99allow-unauth
22+
sudo apt-get update
1723
- name: Install system hooks
1824
run: sudo apt install -qq clang-format-14 cppcheck
1925
- uses: pre-commit/action@v3.0.0

.github/workflows/ci-ros-lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
linter: [copyright, lint_cmake]
1313
steps:
1414
- uses: actions/checkout@v3
15+
- name: Fix GPG signature issues
16+
run: |
17+
sudo apt-get update --allow-unauthenticated || true
18+
echo 'APT::Get::AllowUnauthenticated "true";' | sudo tee /etc/apt/apt.conf.d/99allow-unauth
19+
echo 'Acquire::AllowInsecureRepositories "true";' | sudo tee -a /etc/apt/apt.conf.d/99allow-unauth
20+
sudo apt-get update
1521
- uses: ros-tooling/setup-ros@0.6.2
1622
- uses: ros-tooling/action-ros-lint@v0.1
1723
with:
@@ -37,6 +43,12 @@ jobs:
3743
linter: [cpplint]
3844
steps:
3945
- uses: actions/checkout@v3
46+
- name: Fix GPG signature issues
47+
run: |
48+
sudo apt-get update --allow-unauthenticated || true
49+
echo 'APT::Get::AllowUnauthenticated "true";' | sudo tee /etc/apt/apt.conf.d/99allow-unauth
50+
echo 'Acquire::AllowInsecureRepositories "true";' | sudo tee -a /etc/apt/apt.conf.d/99allow-unauth
51+
sudo apt-get update
4052
- uses: ros-tooling/setup-ros@0.6.2
4153
- uses: ros-tooling/action-ros-lint@v0.1
4254
with:

0 commit comments

Comments
 (0)