You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed a few examples provided from users in a few different issues and haven't had any luck. I've created a repository secret in lieu of the automatically applied GITHUB_SECRET mentioned in the docs.
Here's what I have in my repo, stored in a ff-merge.yml file under the following directory structure: [REPO]/.github/workflows/ff-merge.yml
With this installed in my repo, I'm still unable to get FF merges working via Github UI when commenting /fast-forward. Going to utilize CLI merges as a workaround for now....
name: Fast-Forward PR
on:
issue_comment:
types: [created]
jobs:
fast_forward_job:
name: Fast Forward
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/fast-forward')
runs-on: ubuntu-latest
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout code into workspace directory
uses: actions/checkout@v2
with:
fetch-depth: 0
# Basic use case example
- name: Fast Forward PR
id: ff-action
uses: endre-spotlab/fast-forward-js-action@master
with:
GITHUB_TOKEN: ${{ secrets.ACTION_SECRET }}
success_message: 'Success! Fast forwarded ***target_base*** to ***source_head***! ```git checkout target_base && git merge source_head --ff-only``` '
failure_message: 'Failed! Cannot do fast forward!'
staging_branch: 'stage'
production_branch: 'main'
The text was updated successfully, but these errors were encountered:
jobs:
fast_forward_job:
name: Fast Forward
# if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/fast-forward')
runs-on: ubuntu-latest
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v4
# Basic use case example
- name: Fast Forward PR
id: ff-action
uses: endre-spotlab/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
success_message: 'Success! Fast forwarded target_base to source_head! git checkout target_base && git merge source_head --ff-only '
failure_message: 'Failed! Cannot do fast forward!'
production_branch: 'master'
staging_branch: 'staging'`
I've followed a few examples provided from users in a few different issues and haven't had any luck. I've created a repository secret in lieu of the automatically applied
GITHUB_SECRET
mentioned in the docs.Here's what I have in my repo, stored in a
ff-merge.yml
file under the following directory structure:[REPO]/.github/workflows/ff-merge.yml
With this installed in my repo, I'm still unable to get FF merges working via Github UI when commenting
/fast-forward
. Going to utilize CLI merges as a workaround for now....The text was updated successfully, but these errors were encountered: