Implement error handling while installing Docker on the Kubespray VM #71
Workflow file for this run
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: Add PR label | |
on: | |
pull_request: | |
types: [opened, reopened, assigned, synchronize] | |
jobs: | |
add: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add `feature` label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.head_ref, 'feature/') }} | |
with: | |
labels: feature | |
- name: Add `ignore-for-release` label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'github/') }} | |
with: | |
labels: ignore-for-release | |
- name: Add bugfix label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.head_ref, 'bugfix/') }} | |
with: | |
labels: bugfix | |
- name: Add `documentation` label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.head_ref, 'docs/') }} | |
with: | |
labels: documentation |