diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 0000000..f05f218 --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,8 @@ +name: PR labeler +on: + - pull_request_target +jobs: + apply: + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} # only PRs from this repo + uses: palashmon/reusable-workflows/.github/workflows/labeler-reusable.yml@main + secrets: inherit \ No newline at end of file diff --git a/readme.md b/readme.md index 111a399..7c7f4d7 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# unique-objects ![CI](https://github.com/palashmon/unique-objects/actions/workflows/main.yaml/badge.svg) +# unique-objects ![CI](https://github.com/palashmon/unique-objects/actions/workflows/main.yml/badge.svg) > Get unique objects from array of objects based on single/multiple keys.