mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 23:41:21 +00:00
Merge pull request #37 from bartvdbraak/refactor/dependabot-reviewers
fix: Added concurrency and git author
This commit is contained in:
commit
e9a4a6ec8c
1 changed files with 6 additions and 0 deletions
6
.github/workflows/gh-pages-cleanup.yaml
vendored
6
.github/workflows/gh-pages-cleanup.yaml
vendored
|
@ -6,6 +6,10 @@ on:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -16,6 +20,8 @@ jobs:
|
||||||
- name: Delete directory in gh-pages
|
- name: Delete directory in gh-pages
|
||||||
if: github.event.ref_type == 'branch'
|
if: github.event.ref_type == 'branch'
|
||||||
run: |
|
run: |
|
||||||
|
git config --global user.email "support@github.com"
|
||||||
|
git config --global user.name "cleanup[bot]"
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
||||||
|
|
Loading…
Reference in a new issue