From 3577a9b50e2451dc52bd6e43123811b52ef67759 Mon Sep 17 00:00:00 2001 From: Julien Tanay Date: Thu, 21 Mar 2024 10:43:05 +0100 Subject: [PATCH] chore(ci): fix dependabot support for oxlint bump (#45) --- .github/dependabot.yml | 1 + .github/workflows/dependabot.yml | 6 ++++++ .github/workflows/release.yml | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9f62c10..8a93d8c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,5 +5,6 @@ updates: directory: "/" schedule: interval: "weekly" + versioning-strategy: "increase" labels: - "dependencies" diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 70f0c74..b375025 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -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}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f16472f..76d48ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ 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 @@ -37,4 +37,4 @@ jobs: - 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 }}