Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

build(deps): bump moment from 2.30.0 to 2.30.1 #109

build(deps): bump moment from 2.30.0 to 2.30.1

build(deps): bump moment from 2.30.0 to 2.30.1 #109

Workflow file for this run

---
name: Dependabot automerge
on: pull_request
# description: Automerge dependabot pull requests
#
# auto merge Dependabot pull requests
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
jobs:
automerge-pr:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
if: |
github.actor == 'dependabot[bot]' &&
(
startsWith(github.event.pull_request.title, 'build(deps):') ||
startsWith(github.event.pull_request.title, 'build(devDep):') ||
startsWith(github.event.pull_request.title, 'ci(github-action):') ||
startsWith(github.event.pull_request.title, 'ci(docker):')
)
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
# make sure to enable 'auto-merge' in the repo
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}