Skip to content

Commit

Permalink
Merge pull request #51 from mitre/ubuntu2004
Browse files Browse the repository at this point in the history
Update to a newer version of the github runner
  • Loading branch information
Amndeep7 authored Feb 25, 2025
2 parents f8d9dab + b7c2cef commit 329d8cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/auto-approve-and-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ permissions:
jobs:
approve:
name: Auto-approve dependabot PRs
if: github.event.pull_request.user.login == 'dependabot' && contains(github.event.pull_request.labels.*.name, 'dependencies')
runs-on: ubuntu-20.04
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-24.04
steps:
- uses: hmarr/auto-approve-action@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: hmarr/auto-approve-action@v4
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Install dependencies
run: 'npm ci'
run: npm ci
- name: Run Tests
run: 'npm test'
run: npm test

0 comments on commit 329d8cc

Please sign in to comment.