Skip to content

Commit

Permalink
Create repo-moderator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun authored Sep 16, 2024
1 parent 1c76257 commit feb282c
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: ${{ !startsWith(github.actor, 'C4-') }} && ${{ !startsWith(github.actor, 'c4-') }} && github.actor != 'howlbot-integration'
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-09-kakarot-sponsors"
allowed-labels: "sponsor confirmed, sponsor disputed, sponsor acknowledged"

0 comments on commit feb282c

Please sign in to comment.