Sha256: 842b38b7ca4f0714c401acdcc2eee6a94fadd2d66d683466eb5b3327462be87c

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

name: Send PR Approval Status

on:
  pull_request:
    branches:
      - master
    types: ["review_requested", "synchronize", "opened", "reopened"]
  pull_request_review:
    types:
      - submitted
      - dismissed

jobs:
  send_status:
    runs-on: ubuntu-latest
    if: >
      github.event.pull_request.draft == false &&
      !contains(github.event.pull_request.labels.*.name, 'ci/skip') &&
      !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') &&
      contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')
    steps:
      - name: Get GitHub App token
        id: get_token
        uses: tibdex/github-app-token@v1
        with:
          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
          repository: DataDog/datadog-api-spec
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Post PR review status check
        uses: DataDog/github-actions/post-review-status@v1.0.0
        with:
          github-token: ${{ steps.get_token.outputs.token }}
          repo: datadog-api-spec

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog_api_client-1.11.0 .github/workflows/approved_status.yml
datadog_api_client-1.10.0 .github/workflows/approved_status.yml
datadog_api_client-1.9.0 .github/workflows/approved_status.yml
datadog_api_client-1.8.0 .github/workflows/approved_status.yml
datadog_api_client-1.7.0 .github/workflows/approved_status.yml
datadog_api_client-1.6.0 .github/workflows/approved_status.yml