Skip to content

Commit

Permalink
chore(github): use pull_request_target for update_contributors.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
k3ii committed Sep 9, 2024
1 parent fd5ff91 commit 7bb9ee8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Update Contributors

on:
push:
branches:
- main # Change 'main' to your default branch name if it's different
pull_request_target:
types:
- closed

jobs:
update-contributors:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 7bb9ee8

Please sign in to comment.