diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml new file mode 100644 index 000000000..3ff1ed7c8 --- /dev/null +++ b/.github/workflows/backport.yml @@ -0,0 +1,26 @@ +name: Backport PR creator +on: + pull_request_target: + types: + - closed + - labeled + +jobs: + main: + if: github.repository == 'grafana/beyla' + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v4 + with: + repository: grafana/grafana-github-actions + path: ./actions + ref: main + - name: Install Actions + run: npm install --production --prefix ./actions + - name: Run backport + uses: ./actions/backport + with: + token: ${{ secret.GITHUB_TOKEN }} + labelsToAdd: backport + title: "[{{base}}] {{originalTitle}}"