chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 7.0.1 #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn typecheck | |
auto-merge: | |
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
needs: build-and-test | |
env: | |
token: ${{ secrets.DEPENDABOT_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check if secrets.DEPENDABOT_TOKEN is set | |
if: ${{ env.token == '' }} | |
run: exit 1 | |
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | |
with: | |
target: minor | |
command: squash and merge | |
# https://github.com/ahmadnassri/action-dependabot-auto-merge#token-scope | |
github-token: ${{ env.token }} |