diff --git a/.github/workflows/fast-forward.yml b/.github/workflows/fast-forward.yml index 3b147d8..6bd06aa 100644 --- a/.github/workflows/fast-forward.yml +++ b/.github/workflows/fast-forward.yml @@ -5,8 +5,8 @@ on: 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 }} + if: contains(github.event.comment.body, '/fast-forward') + && github.event.issue.pull_request runs-on: ubuntu-latest permissions: @@ -23,4 +23,4 @@ jobs: # to only post a comment when an error occurs, or 'never' to # never post a comment. (In all cases the information is # still available in the step's summary.) - comment: always \ No newline at end of file + comment: always