Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Thunderbird/.github/workflows/   (Thunderbird Email Client Version 5.6©)  Datei vom 22.9.2026 mit Größe 1 kB image not shown  

Quelle  pr-opened.yml  Sprache: unbekannt

 
Spracherkennung für: .yml vermutete Sprache: SQL {SQL[56] VDM[49] VHDL[42]} [Methode: maximale Elemente, drei Dimensionen]

---
name: PR - Opened

# Warning, this job is running on pull_request_target and therefore has access to issue content.
# Don't add any steps that act on external code.
on:
  pull_request_target:
    branches: [beta, release]
    types: [opened]

permissions:
  contents: none

jobs:
  pr-opened:
    permissions:
      pull-requests: write
    runs-on: ubuntu-latest
    environment: botmobile
    steps:
      - name: App token generate
        uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510  # v3.3.0
        if: ${{ vars.BOT_CLIENT_ID }}
        id: app-token
        with:
          client-id: ${{ vars.BOT_CLIENT_ID }}
          private-key: ${{ secrets.BOT_PRIVATE_KEY }}

      - name: Uplift Approval Request
        env:
          PR_NUMBER: ${{  github.event.pull_request.number  }}
          GH_TOKEN: ${{ steps.app-token.outputs.token || github.token }}
          MILESTONE: ${{ steps.milestone.outputs.title }}
          MESSAGE: |
            Thank you for your uplift request! Please add a comment with the following approval request template filled out.

            **[Approval Request]**
            Original Issue/Pull request:
            Regression caused by (issue #):
            User impact if declined:
            Testing completed (on daily, beta, etc.):
            Introduces or modifies localizable strings (yes/no):
            Skips a database migration (yes/no):
            Risk to taking this patch (and alternatives if risky):
        run: |
          if gh pr view "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --json comments \
            --jq '.comments[].body' | grep -q '\[Approval Request\]'; then
            echo "Approval Request already exists. Skipping comment."
            exit 0
          fi

          gh pr comment "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --body "$MESSAGE"

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]