diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-approve.yaml similarity index 55% rename from .github/workflows/auto-merge.yml rename to .github/workflows/auto-approve.yaml index caf82c750..09a742aec 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-approve.yaml @@ -1,5 +1,5 @@ --- -name: Dependabot auto-merge +name: Renovate Bot dependency updates auto-merge permissions: pull-requests: write @@ -8,9 +8,9 @@ permissions: on: pull_request_target jobs: - dependabot-automerge: + renovate-autoapprove: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} + if: ${{ github.actor == 'renovate[bot]' }} steps: - name: Approve a PR run: gh pr review --approve "$PR_URL" @@ -18,9 +18,3 @@ jobs: PR_URL: ${{ github.event.pull_request.html_url }} # Use the bot account PAT to allow auto-approve and merge the PRs GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }} - - - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --squash "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }} diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yaml similarity index 76% rename from .github/workflows/commitlint.yml rename to .github/workflows/commitlint.yaml index d9b613e84..45a8dbf07 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yaml @@ -5,10 +5,10 @@ on: jobs: commitlint: - if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'flycode-app[bot]' }} + if: ${{ github.actor != 'renovate[bot]' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/pr-closed.yml b/.github/workflows/pr-closed.yaml similarity index 100% rename from .github/workflows/pr-closed.yml rename to .github/workflows/pr-closed.yaml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yaml similarity index 100% rename from .github/workflows/publish.yml rename to .github/workflows/publish.yaml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yaml similarity index 96% rename from .github/workflows/test.yml rename to .github/workflows/test.yaml index 3efe4badb..25bd4aa48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yaml @@ -72,7 +72,7 @@ jobs: - name: Publish package preview id: package-preview # Do not run for `alpha` or `beta` branches - if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && !contains(github.head_ref || github.ref_name, 'alpha') && !contains(github.head_ref || github.ref_name, 'beta') + if: github.event_name == 'pull_request' && github.actor != 'renovate[bot]' && !contains(github.head_ref || github.ref_name, 'alpha') && !contains(github.head_ref || github.ref_name, 'beta') env: NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }} run: | diff --git a/lefthook.yml b/lefthook.yaml similarity index 100% rename from lefthook.yml rename to lefthook.yaml