mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-08-29 04:30:10 +00:00
Add debug step for GitHub token presence check
This commit is contained in:
19
.github/workflows/dependabotautomerge.yml
vendored
19
.github/workflows/dependabotautomerge.yml
vendored
@@ -14,8 +14,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Auto-merge
|
||||
if: contains(github.event.pull_request.labels.*.name, 'auto-merge')
|
||||
uses: fastify/github-action-merge-dependabot@v3
|
||||
with:
|
||||
github-token: ${{ secrets.GH_TOKEN }}
|
||||
- name: Debug token presence
|
||||
run: |
|
||||
if [ -z "${{ secrets.GITHUB_TOKEN }}" ]; then
|
||||
echo "TOKEN IS EMPTY"
|
||||
exit 1
|
||||
else
|
||||
echo "TOKEN EXISTS"
|
||||
fi
|
||||
|
||||
- name: Auto-merge
|
||||
if: contains(github.event.pull_request.labels.*.name, 'auto-merge')
|
||||
uses: fastify/github-action-merge-dependabot@v3
|
||||
with:
|
||||
github-token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user