Skip to content

Commit

Permalink
updated workflow so that closed pull requests add to contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
uchendui committed Sep 24, 2023
1 parent 163a870 commit 7afcb82
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/auto-add-contributors.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: Automatically Add Contributors
run-name: ${{ github.actor }} is updating TinyML book contributors
on:
push:
branches:
main
- main
pull_request:
branches:
- main
types:
- closed

jobs:
update-contributors:
if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit 7afcb82

Please sign in to comment.