Skip to content

feat: Add authentication and fast-forward action #3

feat: Add authentication and fast-forward action

feat: Add authentication and fast-forward action #3

Workflow file for this run

name: Auth and Fast-Forward
on:
pull_request:
types: [opened, reopened, synchronize]
issue_comment:
types: [created]
jobs:
auth-and-merge:
if: >
github.event_name == 'pull_request' ||
(github.event_name == 'issue_comment' &&
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:
- uses: PolymeshAssociation/polymesh-action@v1
with:
allowed-signers: ${{ vars.MIDDLEWARE_ALLOWED_SIGNERS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-mode: 'always'
auth-required: 'true'