Skip to content

Fast-forward merge a pull request #702

Fast-forward merge a pull request

Fast-forward merge a pull request #702

Workflow file for this run

name: Fast-forward merge a pull request
on:
# Trigger when a comment is created or edited.
issue_comment:
types: [created, edited]
jobs:
fast-forward:
runs-on: ubuntu-latest
permissions:
contents: write # Allows merging the PR.
pull-requests: write # Writing comments on PRs.
issues: write # Also required for posting comments on PRs.
# Only run if the comment is one of the defined keywords.
if: >-
${{
github.event.issue.pull_request
&& contains(fromJSON('["/fast-forward", "/ff"]'), github.event.comment.body)
}}
steps:
- name: "Fast forwarding"
uses: sequoia-pgp/fast-forward@v1
with:
merge: true
comment: always