Skip to content

Commit

Permalink
fast-forward: use central workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay authored and crozzy committed Jan 22, 2025
1 parent cce19e0 commit e4dd24e
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions .github/workflows/fast-forward.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
---
name: Fast Forward
on:
issue_comment:
types: [created, edited]
jobs:
fast-forward:
# Only run if the comment contains the /fast-forward command.
if: ${{ contains(github.event.comment.body, '/fast-forward')
&& github.event.issue.pull_request }}
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write
issues: write

steps:
- name: Fast forwarding
uses: sequoia-pgp/fast-forward@v1
with:
merge: true
comment: on-error
name: Fast Forward
on:
issue_comment:
types: [created, edited]
pull_request_review:
types: [submitted]
jobs:
fast-forward:
uses: quay/clair-workflows/.github/workflows/fast-forward.yml@main

permissions:
contents: write
pull-requests: write
issues: write

0 comments on commit e4dd24e

Please sign in to comment.