Skip to content

UnboundLocalError: cannot access local variable 'data' where it is not associated with a value #5

UnboundLocalError: cannot access local variable 'data' where it is not associated with a value

UnboundLocalError: cannot access local variable 'data' where it is not associated with a value #5

Workflow file for this run

name: Pull request merge
on:
issue_comment:
types: [created, edited]
jobs:
pr-ff-merge:
# Only run if the comment contains a fast-forward triggering command.
if: ${{ ( contains(github.event.comment.body, '/fast-forward') ||
contains(github.event.comment.body, '!ff') ||
contains(github.event.comment.body, '!merge') )
&& github.event.issue.pull_request }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Fast forward merge
uses: sequoia-pgp/fast-forward@v1
with:
merge: true
comment: always