Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/eslint-9.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobbit44 authored Aug 22, 2024
2 parents 02910f6 + 01e623b commit bed5b8f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:
pull_request:

permissions:
contents: read
actions: read
checks: write
contents: write
pull-requests: write

jobs:
checks:
Expand All @@ -30,3 +29,15 @@ jobs:
run: yarn test
- name: Build
run: yarn build
- name: Dependabot metadata
if: github.actor == 'dependabot[bot]'
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: github.actor == 'dependabot[bot]' && steps.metadata.outputs.update-type == 'version-update:semver-patch'
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: gh pr merge --auto --merge "$PR_URL"

0 comments on commit bed5b8f

Please sign in to comment.