github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/.github/workflows/backport.yml (about)

     1  name: Backport PR Creator
     2  on:
     3    pull_request_target:
     4      types:
     5        - closed
     6        - labeled
     7  
     8  jobs:
     9    main:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - name: Checkout Actions
    13          uses: actions/checkout@v3
    14          with:
    15            repository: "grafana/grafana-github-actions"
    16            path: ./actions
    17            ref: main
    18        - name: Install Actions
    19          run: npm install --production --prefix ./actions
    20        - name: Run backport
    21          uses: ./actions/backport
    22          with:
    23            metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
    24            token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
    25            labelsToAdd: "backport"
    26            title: "[{{base}}] {{originalTitle}}"