Skip to content

Commit 8e447c8

Browse files
committed
Add allowlist support for bot restricted URLs
1 parent fb23225 commit 8e447c8

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/pr_checks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
run-spelling-check: true,
3030
run-complexity: false,
3131
run-doxygen: false,
32+
allowlist-file: link-verifier/repoAllowlistUrls/freertos-kernel-allowlist.txt,
3233
},
3334
{
3435
repository: FreeRTOS-Plus-TCP,
@@ -38,7 +39,8 @@ jobs:
3839
run-spelling-check: true,
3940
run-complexity: false,
4041
run-doxygen: false,
41-
exclude-dirs: 'source/portable/NetworkInterface/STM32'
42+
exclude-dirs: 'source/portable/NetworkInterface/STM32',
43+
allowlist-file: link-verifier/repoAllowlistUrls/freertos-plus-tcp-allowlist.txt,
4244
},
4345
{
4446
repository: FreeRTOS,
@@ -209,7 +211,7 @@ jobs:
209211
with:
210212
path: repo/${{ matrix.inputs.repository }}
211213
exclude-dirs: complexity, formatting
212-
exclude-urls: https://dummy-url.com/ota.bin, https://s3.region.amazonaws.com/joe-ota, https://www.gnu.org/software/complexity/manual/complexity.html, https://www.u-blox.com/en/product/sara-r4-series
214+
allowlist-file: ${{ matrix.inputs.allowlist-file }}
213215

214216
- name: "Complexity Check: ${{ matrix.inputs.repository }}"
215217
if: matrix.inputs.run-complexity && ( success() || failure() )
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This directory provides a way to allowlist URLs for repositories checked by the link verifier as part of CI checks.
3+
These URLs are valid but may not work with the link verifier for whatever reason.
4+
5+
## FreeRTOS
6+
* Microchip utilizes Akamai Bot Manager to prevent bot requests. This rejects CI-CD checks executed by the Github runner.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://www.microchip.com
2+
https://www.microchip.com/support
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://www.microchip.com/en-us/support/design-help
2+
http://www.atmel.com/design-support/

0 commit comments

Comments
 (0)