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
Configuration must be available to the application without exposing credentials in source control, logs or browser code. What belongs in the runtime and which access controls matter?
Recovery needs to recreate the working service and its required data after a machine or process is lost. Which artifacts and state need protection, and how should the restore be checked?
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