You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/04/14 15:38:44 UTC

[PR] Harden GH Actions workflows: pinned SHAs, zizmor, dependabot [airflow-site-archive]

potiuk opened a new pull request, #39:
URL: https://github.com/apache/airflow-site-archive/pull/39

   ## Summary
   
   Brings airflow-site-archive workflow hygiene up to the same bar as airflow-site:
   
   - **Pinned SHAs** — all `actions/*` and `aws-actions/*` usages pinned to commit SHAs with version comments (matches airflow-site's pins: `actions/checkout@v6.0.2`, `aws-actions/configure-aws-credentials@v6.0.0`).
   - **Permissions** — explicit `permissions:` blocks on every workflow. Default is `contents: read`; `s3-to-github` adds job-level `contents: write` (with a comment) for the push back to `main`/`staging`.
   - **Concurrency** — concurrency groups added to all three sync/lint workflows.
   - **persist-credentials** — `persist-credentials: false` on every checkout except the ones `s3-to-github` actually commits from.
   - **Template-injection fix** — `github-to-s3.yml` `Summarize parameters` step no longer interpolates `${{ env.COMMIT_REFERENCE }}` directly into a shell heredoc (flagged by zizmor).
   - **zizmor pre-commit hook** — added the same `woodruffw/zizmor-pre-commit` hook pinned to v1.23.1 that airflow-site uses.
   - **Dependabot** — new `.github/dependabot.yml` covering `github-actions` (daily) and `pre-commit` (weekly), both with 4-day cooldown and grouped updates, matching airflow-site / apache/airflow conventions.
   - **ASF allowlist check** — new `asf-allowlist-check.yml` using `apache/infrastructure-actions/allowlist-check` pinned to latest `main` (`70ab74bb5ccc96bb2b9bc51404f1f09cfb909aec`).
   
   `zizmor .github/workflows/` now reports **no findings** (both default and `--pedantic` modes, aside from the same `secrets-outside-env` suppressions airflow-site already uses).
   
   ## Test plan
   
   - [ ] CI lint job passes on this PR
   - [ ] ASF allowlist check runs and passes
   - [ ] Dependabot opens its first scheduled run after merge
   - [ ] Trigger `Sync GitHub to S3` (staging) to confirm the v6 checkout + v6 aws-credentials still work
   - [ ] Trigger `Sync S3 to GitHub` (staging) to confirm the push-back still works with the job-level `contents: write`
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Harden GH Actions workflows: pinned SHAs, zizmor, dependabot [airflow-site-archive]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #39:
URL: https://github.com/apache/airflow-site-archive/pull/39


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org