Skip to content

auto-merge

auto-merge #31

Workflow file for this run

name: auto-merge
on:
pull_request:
workflow_dispatch:
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.AUTOMERGE_TOKEN }}
check-secret:
runs-on: ubuntu-latest
steps:
- name: Check if AUTOMERGE_TOKEN secret is non-empty
run: |
if [ -z "${{ secrets.AUTOMERGE_TOKEN }}" ]; then
echo "Secret is empty"
else
echo "Secret is non-empty ${{ secrets.AUTOMERGE_TOKEN }}"
fi