Skip to content

Commit

Permalink
chore: clean up bump_oxlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 1, 2024
1 parent 950c8ce commit 410a281
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/bump_oxlint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Bump oxlint

on:
push:
branches:
- test-bump
workflow_dispatch:
inputs:
version:
Expand All @@ -13,15 +10,11 @@ on:
required: false
type: string

permissions:
pull-requests: write
contents: write

env:
OXLINT_PACKAGE_NAME: oxlint

jobs:
bump-oxlint-rules:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -39,10 +32,8 @@ jobs:
pnpm update oxlint
pnpm install
pnpm run clone
# Generate rules from latest oxlint
pnpm run generate
# Update test snapshots
pnpm run test -u
pnpm run generate # Generate rules from latest oxlint
pnpm run test -u # Update test snapshots
- uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit 410a281

Please sign in to comment.