Skip to content

feat(ism330dl): Add Tetris example with accelerometer tilt controls. #259

feat(ism330dl): Add Tetris example with accelerometer tilt controls.

feat(ism330dl): Add Tetris example with accelerometer tilt controls. #259

name: 👤 Auto Assign Author
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
assign-author:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Assign author
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}
REPO: ${{ github.repository }}
ACTOR: ${{ github.actor }}
run: gh api repos/$REPO/issues/$NUMBER/assignees -f "assignees[]=$ACTOR"