ci: add release commenter and pr labeler workflows

This commit is contained in:
Naveen Singh
2025-05-13 18:00:53 +05:30
committed by GitHub
parent 843809212d
commit 6907b5795d
2 changed files with 32 additions and 0 deletions

15
.github/workflows/pr-labeler.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: PR Labeler
on:
pull_request_target:
types: [opened]
permissions:
contents: read
# write permission is not required as FOSSIFYBOT_TOKEN is used
jobs:
call-pr-labeler-workflow:
uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main
secrets:
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

17
.github/workflows/release-commenter.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Release Commenter
on:
release:
types: [published]
permissions:
contents: read
issues: read
pull-requests: read
# write permission is not required as FOSSIFYBOT_TOKEN is used
jobs:
call-release-commenter:
uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main
secrets:
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}