Skip to content

Commit

Permalink
Create repo-moderator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
c4-bot-1 committed Nov 11, 2024
1 parent 5624a79 commit c9dc3c2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/repo-moderator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Repo Moderator

on:
issues:
types: [labeled, unlabeled, closed, reopened, assigned, unassigned]
pull_request:
types: [closed, reopened, assigned, unassigned]

jobs:
revert-action:
if: github.actor != 'howlbot-integration' && !startsWith(github.actor, 'C4-') && !startsWith(github.actor, 'c4-')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Revert label changes
uses: code-423n4/repo-moderator@main
with:
github-token: ${{ secrets.ACTIONS_TOKEN }}
sponsor-team-slug: "2024-11-ethena-labs-sponsors"
allowed-labels: "sponsor confirmed, sponsor disputed, sponsor acknowledged, critical"

0 comments on commit c9dc3c2

Please sign in to comment.