Skip to content

fix experimental and add write permissions for workflows and pin workflow Versions #211

fix experimental and add write permissions for workflows and pin workflow Versions

fix experimental and add write permissions for workflows and pin workflow Versions #211

Workflow file for this run

---
name: Backport merged pull request
on: # yamllint disable-line rule:truthy
pull_request_target:
types: [closed, labeled]
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
actions: write # so it can create pull requests on actions/workflows
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-latest
# Don't run on closed unmerged pull requests
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v4
- name: Create backport pull requests
uses: korthout/backport-action@v3
with:
experimental: >
{
"conflict_resolution": "draft_commit_conflicts"
}