Bump @types/node from 22.9.0 to 22.9.1 #19
Workflow file for this run
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: Auto Merge Dependabot PRs | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if the PR is from Dependabot | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const prAuthor = context.payload.pull_request.user.login; | |
if (prAuthor !== 'dependabot[bot]' && prAuthor !== 'dependabot') { | |
core.setFailed('PR is not from Dependabot. Exiting...'); | |
} | |
- name: Auto-merge PR | |
uses: peter-evans/auto-merge@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
merge-method: squash # You can use 'merge', 'squash', or 'rebase' |