SvanBoxel / delete-merged-branch

No more manually deleting merged branches, this lovely app does it for you.
https://github.com/apps/delete-merged-branch/
ISC License
323 stars 55 forks source link

Not working in github action #200

Closed ghost closed 4 years ago

ghost commented 4 years ago

I am trying to implement this using github action but its not working. workflow action keeps on running with progress status neither fails nor succeeds

My action template:

name: Delete Merged Branches

on: [pull_request]

jobs:
  delete:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          # Make sure the actual branch is checked out when running on pull requests
          ref: ${{ github.head_ref }}

      - name: Delete merged branch
        uses: SvanBoxel/delete-merged-branch@v1.3.3
        with:
          exclude: staging
          delete_closed_pr: false
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SvanBoxel commented 4 years ago

Hey @rahulbreezo I see you closed the issue. Is it working now?

ghost commented 4 years ago

@SvanBoxel No it's not working. But now we are using bot instead of github action.

Did not expect a reply so soon, so closed the PR.

SvanBoxel commented 4 years ago

Fixed in https://github.com/SvanBoxel/delete-merged-branch/pull/201