ci: skip packer lint job on dependabot PRs

Dependabot PRs don't receive `secrets.DIGITALOCEAN_TOKEN`, so the `packer validate` step fails on every dependency bump. Guarding the job by PR author skips it cleanly while keeping it active for human PRs and pushes to `master`.
This commit is contained in:
Jose Diaz-Gonzalez
2026-05-11 21:27:10 -04:00
parent 90e5903760
commit 993d727dcb

View File

@@ -45,6 +45,7 @@ jobs:
packer:
name: packer
runs-on: ubuntu-24.04
if: github.event.pull_request.user.login != 'dependabot[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v6