Skip to content

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.19.0 #417

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.19.0

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.19.0 #417

name: Auto merge dependabot and NX PRs
on:
pull_request_target:
jobs:
auto-merge-dependabot-pr:
if: false
runs-on: ubuntu-latest
steps:
- name: Auto Approve
uses: actions/github-script@v4
with:
script: |
const result = await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
event: "APPROVE"
})
- 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.GITHUB_TOKEN}}
rebase-merge-nx-pr:
name: Rebase and merge
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout the latest code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: tkit-dev
GIT_COMMITTER_EMAIL: [email protected]
- name: Auto Approve
uses: actions/github-script@v4
with:
script: |
const result = await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
event: "APPROVE"
})
- name: Enable auto-merge for NX PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}