Skip to content

task: split kube test into two tasks #72

task: split kube test into two tasks

task: split kube test into two tasks #72

Workflow file for this run

name: Issue and PRs Labeler
on:
issues:
types: [opened, edited]
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
labeler:
name: Add Label to PRs and Issues
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Needed by labeler
issues: write # Needed by labeler
steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Add Labels
uses: srvaroa/labeler@1eec6d9e7c5fa5864840279978680302f955fc37
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config_path: .github/labeler.yaml
use_local_config: true
slack-notification-doc-team:
needs: labeler
if: ${{ github.event.label.name == 'need-doc-review' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write # Needed by sticky-pull-request-comment
steps:
- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DOCS }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
with:
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "hey ${{ secrets.SLACK_DOCS_TAG }}, this is APIx Bot :aileafy:, could you please review <${{ github.event.pull_request.html_url }}|PR ${{ github.event.pull_request.number }}> :pretty-please:? thanks a lot!"
}
}
]
}
- uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31
with:
header: pr-title-slack-doc
append: true
message: "APIx Bot :bowtie:: a message has been sent to Docs Slack channel :rocket:."