Skip to content

Commit

Permalink
WIP bot
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
  • Loading branch information
WhitWaldo committed Nov 4, 2024
1 parent b0db8a6 commit 7a61919
Show file tree
Hide file tree
Showing 10 changed files with 9,600 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/dapr-bot-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
labels:
- roles:
- maintainers
- contributors
commands:
"/waiting-on-pr": "waiting-on-code-pr"
"/do-not-merge": "do-not-merge"
types:
- pr
- roles:
- maintainers
commands:
"/missing-docs": "feature-in-release-no-docs",
"/requirement": "release-requirement"
types:
- issue
- pr
3 changes: 2 additions & 1 deletion .github/workflows/dapr-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
uses: actions/github-script@v1
if: ${{ steps.checkIfUserIsMaintainer.outputs.isTeamMember == 'true' }}
with:
github-token: ${{secrets.DAPR_BOT_TOKEN}}
github-actor: ${{ github.actor }}
github-token: ${{ secrets.DAPR_BOT_TOKEN }}
script: |
// Returns a boolean based on whether the specified label already exists on the issue/PR
async function labelExists(labelName) {
Expand Down
Loading

0 comments on commit 7a61919

Please sign in to comment.