mirror of
https://github.com/anchore/syft
synced 2024-11-10 14:24:12 +00:00
2d318cffaa
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
66 lines
2 KiB
YAML
66 lines
2 KiB
YAML
name: PR for latest versions of tools
|
|
on:
|
|
schedule:
|
|
- cron: "0 8 * * *" # 3 AM EST
|
|
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-bootstrap-tools:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'anchore/syft' # only run for main repo
|
|
steps:
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
|
|
|
|
- name: Bootstrap environment
|
|
uses: ./.github/actions/bootstrap
|
|
with:
|
|
bootstrap-apt-packages: ""
|
|
compute-fingerprints: "false"
|
|
go-dependencies: false
|
|
|
|
- name: "Update tool versions"
|
|
id: latest-versions
|
|
run: |
|
|
make update-tools
|
|
make list-tools
|
|
|
|
export NO_COLOR=1
|
|
delimiter="$(openssl rand -hex 8)"
|
|
|
|
{
|
|
echo "status<<${delimiter}"
|
|
make list-tool-updates
|
|
echo "${delimiter}"
|
|
} >> $GITHUB_OUTPUT
|
|
|
|
{
|
|
echo "### Tool version status"
|
|
echo "\`\`\`"
|
|
make list-tool-updates
|
|
echo "\`\`\`"
|
|
} >> $GITHUB_STEP_SUMMARY
|
|
|
|
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
|
|
id: generate-token
|
|
with:
|
|
app_id: ${{ secrets.TOKEN_APP_ID }}
|
|
private_key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }}
|
|
|
|
- uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e #v6.0.5
|
|
with:
|
|
signoff: true
|
|
delete-branch: true
|
|
branch: auto/latest-tools
|
|
labels: dependencies
|
|
commit-message: 'chore(deps): update tools to latest versions'
|
|
title: 'chore(deps): update tools to latest versions'
|
|
body: |
|
|
```
|
|
${{ steps.latest-versions.outputs.status }}
|
|
```
|
|
This is an auto-generated pull request to update all of the tools to the latest versions.
|
|
token: ${{ steps.generate-token.outputs.token }}
|