Skip to content

Commit 329d8cc

Browse files
authored
Merge pull request #51 from mitre/ubuntu2004
Update to a newer version of the github runner
2 parents f8d9dab + b7c2cef commit 329d8cc

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/auto-approve-and-merge.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ permissions:
99
jobs:
1010
approve:
1111
name: Auto-approve dependabot PRs
12-
if: github.event.pull_request.user.login == 'dependabot' && contains(github.event.pull_request.labels.*.name, 'dependencies')
13-
runs-on: ubuntu-20.04
12+
if: github.actor == 'dependabot[bot]'
13+
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: hmarr/auto-approve-action@v2
16-
with:
17-
github-token: "${{ secrets.GITHUB_TOKEN }}"
15+
- uses: hmarr/auto-approve-action@v4
1816
- name: Enable auto-merge for Dependabot PRs
1917
run: gh pr merge --auto --merge "$PR_URL"
2018
env:

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
1616
ref: ${{ github.ref }}
1717
- name: Install dependencies
18-
run: 'npm ci'
18+
run: npm ci
1919
- name: Run Tests
20-
run: 'npm test'
20+
run: npm test

0 commit comments

Comments
 (0)