Skip to content

Commit

Permalink
chore(ci): fix dependabot support for oxlint bump (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Djiit authored Mar 21, 2024
1 parent f870567 commit 3577a9b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ updates:
directory: "/"
schedule:
interval: "weekly"
versioning-strategy: "increase"
labels:
- "dependencies"
6 changes: 6 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ jobs:
git config --global user.email "49699333+dependabot[bot]@users.noreply.github.com"
git commit -am "feat(oxlint): bump oxlint rules"
git push
# Edit title message for changelog purpose
gh pr edit "$PR_URL" --title "feat(oxlint): bump oxlint rules"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Dependencies
run: pnpm i

- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 3577a9b

Please sign in to comment.