mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-08-29 04:30:10 +00:00
Delete .github/workflows directory
This commit is contained in:
30
.github/workflows/dependabotautomerge.yml
vendored
30
.github/workflows/dependabotautomerge.yml
vendored
@@ -1,30 +0,0 @@
|
|||||||
name: Auto-merge Dependabot PRs
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
automerge:
|
|
||||||
if: github.event.pull_request.user.login == 'dependabot[bot]'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- 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