From 611a24fcae04483f161de3daa02957bb50bb7e8d Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Wed, 1 Apr 2026 14:27:29 -0400 Subject: [PATCH] (chore): removing automations (#4727) Signed-off-by: Alex Goodman --- .../workflows/update-anchore-dependencies.yml | 51 -------------- .github/workflows/update-bootstrap-tools.yml | 67 ------------------- 2 files changed, 118 deletions(-) delete mode 100644 .github/workflows/update-anchore-dependencies.yml delete mode 100644 .github/workflows/update-bootstrap-tools.yml diff --git a/.github/workflows/update-anchore-dependencies.yml b/.github/workflows/update-anchore-dependencies.yml deleted file mode 100644 index eaa73b162..000000000 --- a/.github/workflows/update-anchore-dependencies.yml +++ /dev/null @@ -1,51 +0,0 @@ -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@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 - 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@f8d387b68d61c58ab83c6c016672934102569859 #v3.0.0 - id: generate-token - with: - app-id: ${{ secrets.TOKEN_APP_ID }} - private-key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }} - - - uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 #v8.1.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 }} diff --git a/.github/workflows/update-bootstrap-tools.yml b/.github/workflows/update-bootstrap-tools.yml deleted file mode 100644 index c7e263c40..000000000 --- a/.github/workflows/update-bootstrap-tools.yml +++ /dev/null @@ -1,67 +0,0 @@ -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@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 - with: - persist-credentials: false - - - name: Bootstrap environment - uses: ./.github/actions/bootstrap - with: - bootstrap-apt-packages: "" - 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: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 #v3.0.0 - id: generate-token - with: - app-id: ${{ secrets.TOKEN_APP_ID }} - private-key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }} - - - uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 #v8.1.0 - 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 }}