security: drop tj-actions/changed-files

I've manually audited our usage and it doesn't look like credentials were printed anywhere, but before they do for another PR, just remove the usage.

If this ends up failing CI, thats also fine, I'll just remove packer validation and manually run it if that file changes.
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-03-15 05:49:57 -04:00
1 parent 2e012cee38
commit 506763ad17
1 file changed
-6
-6
View File
@@ -56,15 +56,9 @@ jobs:
run: "make image/init/digitalocean" run: "make image/init/digitalocean"
env: env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v45.0.8
with:
files: contrib/images/digitalocean/**
- name: Run `packer validate` - name: Run `packer validate`
env: env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: "make image/validate/digitalocean" run: "make image/validate/digitalocean"
shellcheck: shellcheck: