Skip to content

Commit

Permalink
[actions] improve workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 26, 2024
1 parent 204fd46 commit db8a439
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/node-aught.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ jobs:
type: minors
command: npm run tests-only
skip-ls-check: true # node 4-9 fails this

node:
name: 'node < 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
7 changes: 0 additions & 7 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,3 @@ jobs:
range: '>= 10'
type: minors
command: npm run tests-only

node:
name: 'node >= 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
9 changes: 8 additions & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ name: Automatic Rebase

on: [pull_request_target]

permissions:
contents: read

jobs:
_:
permissions:
contents: write # for ljharb/rebase to push code to rebase
pull-requests: read # for ljharb/rebase to get info about PR

name: "Automatic Rebase"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit db8a439

Please sign in to comment.