tests: add test of systemctl restarting snapd in various ways #10578
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: "Pull Request Labeler" | |
| on: | |
| pull_request_target: | |
| jobs: | |
| triage: | |
| if: github.event_name == 'pull_request_target' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/labeler@v6 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| sync-labels: "true" | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Apply draft label using gh CLI | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| if: >- | |
| github.event.action == 'opened' && | |
| github.event.pull_request.draft == true && | |
| !contains(github.event.pull_request.labels.*.name, 'Skip spread') | |
| run: gh pr edit ${{ github.event.pull_request.number }} --add-label 'Run only one system' |