mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 12:07:05 +00:00
Update dependabot dependency update to be a workflow dispatch
This commit is contained in:
15
.github/workflows/post-dependabot.yml
vendored
15
.github/workflows/post-dependabot.yml
vendored
@@ -1,11 +1,13 @@
|
||||
name: Update Dependencies
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dependabot/npm_and_yarn/**
|
||||
pull_request:
|
||||
branches:
|
||||
- dependabot/npm_and_yarn/**
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'The branch to update dependencies on'
|
||||
required: true
|
||||
default: 'warning'
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
@@ -14,6 +16,7 @@ jobs:
|
||||
name: Update licensed cache
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
ref: ${{ github.event.inputs.branch }}
|
||||
|
||||
- run: npm ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user