Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…chuu.github.io into dependabot/github_actions/actions/upload-pages-artifact-3
  • Loading branch information
dependabot[bot] committed Feb 9, 2024
2 parents c465c6b + 3ae5313 commit ad80114
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
interval: 'daily'

# Maintain dependencies for npm
- package-ecosystem: 'npm'
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/dependabot.auto.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
name: 'Dependabot Automerge - Action'
name: Dependabot auto-merge
on: pull_request

on:
pull_request:
permissions:
contents: write
pull-requests: write

jobs:
dependabot:
name: 'Dependabot'
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
if: ${{ github.event.pull_request.user.login }} == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: '${{ secrets.TOKEN_GITHUB }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
run: |
git config --global user.name "dependabot[bot]"
git config --global user.email "dependabot[bot]@users.noreply.github.com"
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{secrets.TOKEN_GITHUB}}

0 comments on commit ad80114

Please sign in to comment.