mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.11 to 8.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](22a9089034...98357b18bf)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
name: PR to update Anchore dependencies
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
repos:
|
|
description: "List of dependencies to update"
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository_owner == 'anchore' # only run for main repo (not forks)
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Bootstrap environment
|
|
uses: ./.github/actions/bootstrap
|
|
with:
|
|
tools: false
|
|
bootstrap-apt-packages: ""
|
|
|
|
- name: Update dependencies
|
|
id: update
|
|
uses: anchore/workflows/.github/actions/update-go-dependencies@main
|
|
with:
|
|
repos: ${{ github.event.inputs.repos }}
|
|
|
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf #v2.2.1
|
|
id: generate-token
|
|
with:
|
|
app-id: ${{ secrets.TOKEN_APP_ID }}
|
|
private-key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }}
|
|
|
|
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 #v8.0.0
|
|
with:
|
|
signoff: true
|
|
delete-branch: true
|
|
draft: ${{ steps.update.outputs.draft }}
|
|
# do not change this branch, as other workflows depend on it
|
|
branch: auto/integration
|
|
labels: dependencies,pre-release
|
|
commit-message: "chore(deps): update anchore dependencies"
|
|
title: "chore(deps): update anchore dependencies"
|
|
body: ${{ steps.update.outputs.summary }}
|
|
token: ${{ steps.generate-token.outputs.token }}
|