mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-12 21:17:11 +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
|
name: Update Dependencies
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches:
|
inputs:
|
||||||
- dependabot/npm_and_yarn/**
|
branch:
|
||||||
pull_request:
|
description: 'The branch to update dependencies on'
|
||||||
branches:
|
required: true
|
||||||
- dependabot/npm_and_yarn/**
|
default: 'warning'
|
||||||
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
jobs:
|
jobs:
|
||||||
@@ -14,6 +16,7 @@ jobs:
|
|||||||
name: Update licensed cache
|
name: Update licensed cache
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
ref: ${{ github.event.inputs.branch }}
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user