Ensures fix_utf8mb4 has been applied to strings before saving to db #716
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: Label cleanup | |
on: | |
pull_request_target: | |
types: | |
- closed | |
jobs: | |
remove-label: | |
name: Cleanup after PR Triage | |
if: github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
script: | | |
const labels = [ | |
'Work in progress', | |
'PR: draft', | |
'PR: unreviewed', | |
'PR: reviewed-changes-requested', | |
'PR: partially-approved', | |
'PR: reviewed-approved' | |
]; | |
for (const label of labels) | |
try | |
{ | |
await github.rest.issues.removeLabel({ | |
name: label, | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo | |
}); | |
} | |
catch (e) | |
{ | |
core.warning(`failed to remove label: ${label}: ${e.message}`); | |
} |