Even if there is a balance change from the last snapshot, the startSnapshot()
could still be reverted.
#61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 != 'C4-Staff' && github.actor != 'c4-judge' && 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-07-karak-sponsors" | |
allowed-labels: "sponsor confirmed, sponsor disputed, sponsor acknowledged" |