ci: add release commenter and pr labeler workflows
This commit is contained in:
parent
d0f6db3aec
commit
9018e97035
2 changed files with 32 additions and 0 deletions
15
.github/workflows/pr-labeler.yml
vendored
Normal file
15
.github/workflows/pr-labeler.yml
vendored
Normal 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
17
.github/workflows/release-commenter.yml
vendored
Normal 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 }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue