Skip to content

Commit f00d36b

Browse files
authored
Allow dependabot in CLA check (#33)
Add dependabot[bot] to the allowlist so PRs that include dependabot commits don't fail the CLA check. Use debian buster archive for python 2.7 tests
1 parent 1a5ce3e commit f00d36b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,19 @@ jobs:
2222
env:
2323
PYTHON: ${{ matrix.python-version }}
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 0 # fetch all history for setuptools_scm to be able to read tags
2828

29+
- name: Fix Debian Buster repositories (EOL)
30+
if: matrix.image-variant == '-buster'
31+
run: |
32+
# Debian Buster reached EOL, switch to archive.debian.org
33+
# Remove security repo entirely (not available in archive) and use main archive
34+
sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list
35+
sed -i '/security.debian.org/d' /etc/apt/sources.list
36+
sed -i '/buster-updates/d' /etc/apt/sources.list
37+
2938
- name: Install python dependencies
3039
run: |
3140
apt-get update

.github/workflows/cla.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ jobs:
2323
path-to-signatures: signatures.json
2424
remote-organization-name: secondlife
2525
remote-repository-name: cla-signatures
26+
allowlist: dependabot[bot]

0 commit comments

Comments
 (0)