Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/eslint-9.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso authored Dec 23, 2024
2 parents 0ea5c02 + 9886264 commit 0a810c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/auto_approve_dependabot_prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Dependabot auto-approve
on: pull_request

permissions:
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'Decatur-Robotics/Gearbox'
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3 changes: 2 additions & 1 deletion .github/workflows/increment_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ name: Increment Version
on:
workflow_call:
workflow_dispatch:
pull_request:
pull_request_target:
branches: [main]
types: [opened]

jobs:
increment:
runs-on: ubuntu-latest
if:
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 0a810c9

Please sign in to comment.