mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31: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:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -16,6 +20,8 @@ jobs:
|
|||
- name: Delete directory in gh-pages
|
||||
if: github.event.ref_type == 'branch'
|
||||
run: |
|
||||
git config --global user.email "support@github.com"
|
||||
git config --global user.name "cleanup[bot]"
|
||||
git fetch --all
|
||||
git checkout gh-pages
|
||||
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
||||
|
|
Loading…
Reference in a new issue