executeRecoverySpell()
can revert due to check in OwnerManager.swapOwner()
and causes safe to be compromised
#490
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 != '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-10-kleidi-sponsors" | |
allowed-labels: "sponsor confirmed, sponsor disputed, sponsor acknowledged, critical" |