Sha256: 5e9bf59b803d90e13db7a6fb824cbbf7c7d329db39f3c09103d74b50020d9f10

Contents?: true

Size: 1.04 KB

Versions: 21

Compression:

Stored size: 1.04 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: Post PR review status check
        uses: DataDog/github-actions/post-review-status@v2
        with:
          github-token: ${{ steps.get_token.outputs.token }}
          repo: datadog-api-spec

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
datadog_api_client-2.26.1 .github/workflows/approved_status.yml
datadog_api_client-2.26.0 .github/workflows/approved_status.yml
datadog_api_client-2.25.0 .github/workflows/approved_status.yml
datadog_api_client-2.24.0 .github/workflows/approved_status.yml
datadog_api_client-2.22.0 .github/workflows/approved_status.yml
datadog_api_client-2.21.0 .github/workflows/approved_status.yml
datadog_api_client-2.20.0 .github/workflows/approved_status.yml
datadog_api_client-2.19.0 .github/workflows/approved_status.yml
datadog_api_client-2.18.0 .github/workflows/approved_status.yml
datadog_api_client-2.17.0 .github/workflows/approved_status.yml
datadog_api_client-2.16.0 .github/workflows/approved_status.yml
datadog_api_client-2.15.0 .github/workflows/approved_status.yml
datadog_api_client-2.14.0 .github/workflows/approved_status.yml
datadog_api_client-2.13.0 .github/workflows/approved_status.yml
datadog_api_client-2.12.0 .github/workflows/approved_status.yml
datadog_api_client-2.11.0 .github/workflows/approved_status.yml
datadog_api_client-2.10.0 .github/workflows/approved_status.yml
datadog_api_client-2.9.0 .github/workflows/approved_status.yml
datadog_api_client-2.8.0 .github/workflows/approved_status.yml
datadog_api_client-2.7.0 .github/workflows/approved_status.yml