Implement Matter Time Synchronization support #52
Workflow file for this run
This file contains hidden or 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: PR build label cleanup | |
| on: | |
| pull_request_target: | |
| types: | |
| - labeled | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| remove_ci_labels: | |
| if: | | |
| github.event.label.name == 'Run CI Quick' || | |
| github.event.label.name == 'Run CI Common' || | |
| github.event.label.name == 'Run CI Matter' || | |
| github.event.label.name == 'Run CI GitHub' || | |
| github.event.label.name == 'Run CI Full' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Remove CI labels | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| for (const name of ['Run CI Quick', 'Run CI Common', 'Run CI Matter', 'Run CI GitHub', 'Run CI Full']) { | |
| try { | |
| await github.rest.issues.removeLabel({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| name | |
| }); | |
| } catch (e) { | |
| core.info(`Label not removed (${name}): ${e.message}`); | |
| } | |
| } |