Reusable workflow permissions boundary blocks GITHUB_TOKEN inheritance from caller A workflow using workflow_call invokes a reusable workflow while the caller runs with permissions: write-all . The goal is to let the called workflow operate under the caller's elevated GITHUB_TOKEN scope without repeating permission declarations in every callee. Each workflow
I run a CI workflow that connects to a PostgreSQL database during integration tests. Occasionally the workflow fails with a connection pool exhaustion error, even though the number of parallel jobs is below the database's max pool size. The workflow executes on GitHub‑hosted Ubuntu runners, which are virtual machines in Azure with a shared network stack. I s
Runner Environment Reproducibility Challenge Teams using GitHub Actions often face decisions between GitHub-hosted runners and self-hosted runners for maintaining consistent development environments across CI/CD pipelines. The core tension lies in achieving environment reproducibility while balancing maintenance overhead and platform compatibility. GitHub-ho
Goal To determine whether the OIDC identity token that GitHub Actions supplies is automatically refreshed when a single job contains a long‑running step that exceeds the token’s nominal lifetime. Scenario A workflow obtains an OIDC token, exchanges it for AWS STS credentials, sleeps for 12 minutes, and then makes a second AWS API call. Constraints The token
Graceful cleanup during workflow cancellation GitHub Actions sends SIGTERM to the runner process when a workflow is cancelled—either manually or via concurrency.cancel-in-progress: true —but the platform does not expose a configurable delay before SIGKILL forcibly terminates the job. Steps that need to flush buffers, release distributed locks, or notify exte
The actions/upload-artifact action utilizes the retention-days input to manage the lifecycle of generated files. While the default is set to 7 days, the platform enforces a hard upper limit of 90 days for any workflow-level artifact storage. This constraint presents a challenge for long-term release tracking or compliance requirements where build outputs mus
Objective Keep long-lived cloud access keys stored as GitHub Actions secrets from remaining valid after expiration or rotation, without relying on manual cleanup. This applies to GitHub Actions on GitHub.com and GitHub Enterprise Server where Actions is enabled. GitHub Actions does not display or enforce an expiration date for encrypted repository, environme
Implementing least-privilege authentication in GitHub Actions via OpenID Connect (OIDC) allows workflows to exchange short-lived tokens for cloud IAM roles. This removes the need for long-lived secrets but introduces complexity in trust relationship configuration. In a multi-tenant organization with numerous repositories, a broad trust policy based only on t
Goal Determine whether the built-in timing information shown for each workflow step in the GitHub Actions UI on GitHub.com isolates artifact upload and download duration, or rolls that time into the surrounding step, before deciding where to focus optimization. Constraints and uncertainty Step timing in the run UI reflects wall-clock time on the runner. Arti