Skip to content

fix(deps-dev): bump @typescript-eslint/eslint-plugin from 7.6.0 to 8.0.1 #8

fix(deps-dev): bump @typescript-eslint/eslint-plugin from 7.6.0 to 8.0.1

fix(deps-dev): bump @typescript-eslint/eslint-plugin from 7.6.0 to 8.0.1 #8

Workflow file for this run

name: pr
on:
pull_request_target: # https://github.com/dependabot/dependabot-core/issues/3253
branches:
- master
defaults:
run:
shell: bash
permissions:
pull-requests: write
contents: write
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Set up NPM authentication
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.READ_ONLY_PAT }}" >> ~/.npmrc
- run: make ci
env:
GITHUB_TOKEN: ${{ secrets.READ_ONLY_PAT }}
NPM_TOKEN: ${{ secrets.READ_ONLY_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.READ_ONLY_PAT }}
- name: Set up NPM authentication
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.ACTIONS_TOKEN }}" >> ~/.npmrc
- uses: cycjimmy/[email protected]
id: semantic # need an `id` for output variables
with:
dry_run: true
semantic_version: 18
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
NPM_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
dependabot-approve-and-automerge:
runs-on: ubuntu-latest
needs: build-and-test
timeout-minutes: 2
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: dependabot/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- 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}}