11,237 questions
5
votes
0
answers
78
views
Github Actions self hosted runner on macOS tries to checkout repository forever
I am experiencing an issue on macOS where two or more jobs running actions/checkout at the same time cause one of the jobs to hang indefinitely during checkout.
What makes this even stranger is that ...
-3
votes
0
answers
78
views
Orval sometimes gets 403 in GitHub Actions when fetching Swagger URL (works locally)
I'm trying to generate a TypeScript client from a Swagger/OpenAPI endpoint.
Everything works fine on my local machine, but in GitHub Actions the Orval step randomly fails with a 403 Forbidden when it ...
Best practices
0
votes
2
replies
17
views
How to shrink image size on upload for github user-attachments/assets in repo issues?
If a contributer attaches an image in a github issue (or any other comment) it will be uploaded as is. If the image is large this results in poor usability of that post. Is there a way to shrink image ...
1
vote
1
answer
59
views
"APNS token has not been set yet" only when app is built via pipeline
I'm making a flutter app for a client, and I'm currently setting up the push notifications using firebase_messaging: ^16.1.1. I've also set up a Github Actions pipeline.
The problem: if I release to ...
1
vote
1
answer
59
views
Configuring AWS credentials not authorized to perform sts:AssumeRoleWithWebIdentity
When I run my GitHub Actions workflow, which is trying to connect with AWS, the deployment log fails with:
Error: Could not assume role with OIDC: Not authorized to perform sts:...
1
vote
1
answer
72
views
GitHub Actions scheduled workflow (cron) not triggering, but works with workflow_dispatch
I have a GitHub Actions workflow that is supposed to run automatically on a schedule using cron, but it is not triggering at all. However, when I manually trigger the same workflow using ...
1
vote
1
answer
72
views
Pass secret to script called by GitHub Actions workflow
We have a standardized repo layout and use a workflow to build, test and deploy.
Since some repos need some special setup, we can pass a setup.py script (with args) as input to the workflow.
In one ...
0
votes
1
answer
42
views
GitHub Actions checkout fails with "Not Found" error for SSO-protected enterprise repository despite valid PAT
Problem
I'm trying to checkout a private GitHub Enterprise repository in a GitHub Actions workflow, but it consistently fails with a "Not Found" error even though I have a valid Personal ...
Advice
0
votes
1
replies
16
views
Do Github rules allow one to connect via SSH to their continuous integration machines?
I was wondering if Github rules allow me to connect via a reverse SSH to their continuos integration virtual machines and obtain a shell prompt in order to for example debug a failing release ...
0
votes
1
answer
71
views
Very slow docker pull from github actions runner to private AWS registry
I've been investigating a problem I'm experiencing with github hosted runners, and managed to also experience the problem on a VM in azure. When I do a docker pull from a private registry in AWS some ...
-1
votes
1
answer
64
views
Trouble saving data in GitHub Actions [closed]
Been trying to deploy my Python code to GitHub Actions for remote executions but the files are not getting created. After a successful run of the workflow I get the error message saying there is ...
1
vote
0
answers
72
views
Newman API tests failing with Cloudflare Access headers
I'm running Newman API tests in a GitHub Actions workflow that needs to pass Cloudflare Access headers. The workflow is failing even though I believe I've implemented everything
Postman Collection has ...
1
vote
1
answer
68
views
Setting index level annotations in GitHub Actions results in "index annotations not supported for single platform export"
I'm using Kargo to promote container images, and I would like to use its feature to parse container annotations. Kargo needs these annotations at index level, not manifest level.
I'm struggling to ...
2
votes
0
answers
57
views
Signing jwt with google python libraries with impersonated credentials through WIF
I am using the github action google-github-actions/auth@v3 and following the documentation for workload identity federation through a service account within the github CI. I have created the workload ...
1
vote
0
answers
29
views
Snapcraft (core24) build fails in GitHub Actions for pre-built Chromium binary with dynamic source URL
I am trying to package a pre-compiled, Chromium-based browser (Helium) as a Snap package using core24. I am using GitHub Actions to dynamically fetch the latest release tag, inject the download URL ...
1
vote
0
answers
108
views
AWS Lambda TargetInvocationException : could not load file or assembly 'System.Data.SqlClient, Version=4.6.1.6'
I have a .NET 8 based multi-project backend solution. It uses GitHub actions to build the build/publish project with release, that is later used by AWS Lambda to run it whenever an invocation occurs.
...
4
votes
1
answer
111
views
How can Dependabot be configured to update Docker's new hardened images?
Docker have recently made their hardened images available for everyone. Although they're free to use, images in the hardened image catalog require authentication to pull.
I'm trying to set up ...
0
votes
1
answer
309
views
How can GitHub-hosted runners use Visual Studio 2026 Build Tools (MSBuild 18) for CI builds?
It seems Visual Studio 2026 Build Tools (MSBuild 18) are currently not available on GitHub-hosted Windows runners.
How to install them during a GitHub Actions job?
Best practices
1
vote
0
replies
137
views
How to securely build Docker images in GitHub Actions on Kubernetes runners (no privileged mode / no DinD)?
I'm setting up a secure CI/CD pipeline using GitHub Actions with self-hosted runners running in Kubernetes, and I want to build Docker images and push them to AWS ECR securely.
Goals
Build Docker ...
Best practices
1
vote
4
replies
75
views
Julia: speeding up pipelines by 1) separating project into multiple subprojects, 2) dropping transitive dependencies, and 3) reusing stuff?
former Java developer and total Julia noob here.
My problem: My github pipeline takes FOREVER (pipeline see below). Two point of concern:
some dependencies are only needed for an example run with ...
3
votes
1
answer
156
views
Github Actions '**' pattern matches an unexpected branch
I have the following Github workflow file:
name: test-ci2
on:
push:
branches: [ '**/ci-*' ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered by **/ci-* ...
1
vote
0
answers
85
views
Receive 403 inconsistently from GitHub npm registry
We have several (private) npm packages in the GitHub npm registry. Let's say we have repository A and repository B.
Repository A publishes an npm package into the GitHub registry, and repository B ...
1
vote
1
answer
68
views
TimeoutExeption in Headless mode
I’m working on a Python project using Selenium and pytest. All tests pass locally in normal (non-headless) mode, but when I run them in GitHub Actions or even locally in headless mode, many of them ...
0
votes
1
answer
103
views
Puppeteer "No usable sandbox" on Github Actions with ubuntu-latest (23)
I have some jobs running on Github Actions, that require Puppeteer to run, but it fails to start with this error
Cannot start ChromeHeadless
[2303:2303:1207/162353.403103:FATAL:content/browser/...
1
vote
0
answers
34
views
Github Action for test build and run unit tests for iOS library
I have github action written to test build and also run unit tests before performing a release.
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Ruby (for ...
0
votes
0
answers
93
views
An error occurred while validating. HRESULT = '80004005'
I'm implementing CI/CD for a couple applications using GithubActions in GHES with a self-hosted runner and I've been facing this problem "An error occurred while validating. HRESULT = '80004005'&...
0
votes
1
answer
66
views
GitHub Actions workflow_dispatch inputs not showing in Actions tab
I’m trying to create a GitHub Actions workflow that manages AWS Secrets Manager (create/read/update/delete). The workflow should only run manually using workflow_dispatch, because it requires user ...
Best practices
0
votes
1
replies
35
views
Best way to check for empty secret/variables in GitHub workflows
We've had troubes in the past trying to validate github environment against unset/empty secrets or variables. I've used bash scripts like [ -z "${{ secrets.mysecret }}" ] && exit 1; ...
3
votes
1
answer
98
views
How to send secrets from other job
I'm trying to chain two reusable GitHub Actions workflows:
Workflow A (secrets.yaml): fetches secrets from Vault
Workflow B (build.yaml): needs the output DOCKER_CONFIG generated by workflow A
My ...
Advice
2
votes
0
replies
78
views
ArgoCD ApplicationSet and Workflow to create ephemeral environments from GitHub branches
How would you rate this GitOps workflow idea with ArgoCD + ApplicationSet + PreSync hooks?
In my organization we already use Argo CD for production and staging deployments. We're considering giving ...
-1
votes
2
answers
137
views
GitHub Action with persistent state
I have two GitHub action steps that require persistent state between calls.
So far, I've solved that with a small virtual machine (1 CPU, 256MB RAM) that acts as a custom runner accepting only a ...
0
votes
0
answers
93
views
GitHub Actions iOS build fails with “Exit status 65” – works locally with Xcode 16.1
I have a React Native project that builds and uploads successfully using Fastlane on my local Mac (Xcode 26.1).
However, the GitHub Actions iOS build fails with the following error:
** ARCHIVE FAILED *...
Best practices
0
votes
0
replies
63
views
How to share Python environment set up between jobs
There's this GitHub Actions workflow to build & release Python project:
name: build, test, release
on: push
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: ...
Advice
2
votes
4
replies
89
views
Schedule a Terraform destroy and apply of the same resource using Github Actions in Azure
My goal is to schedule a Cron Job using GitHub Actions to destroy and reapply the same resource at specific times — for example, apply at 8 a.m. and destroy at 5 p.m.
Based on my research, I would run ...
0
votes
0
answers
118
views
VS Code GitHub Actions extension shows incorrect linter errors for valid workflow syntax
I'm using VS Code and working on GitHub Actions workflow files. I'm using the GitHub Actions extension.
I'm having issues with the linter. VS Code is showing me some errors and warnings that are ...
0
votes
0
answers
73
views
Tag push doesn't trigger workflow if the workflow didn't exist at the tagged commit
Repository structure:
Commits
first-commit: add test file
second-commit: add workflow
.github/workflows/tag.yaml
name: tag_handler
on:
push:
tags:
- "*"
jobs:
hello:
...
0
votes
1
answer
112
views
Build Homebrew bottle in GitHub Actions
I want to use GitHub Actions to build the bottle for a formula that lives in the same repository. The main part here is:
- name: build package
run: |
brew install --build-bottle ./Formula/...
1
vote
1
answer
110
views
How can I run multiple CodeQL query suites in a single GitHub Actions workflow?
My goal is to run multiple CodeQL query packs and suites (like security-extended and audit) in one GitHub Action workflow, and ideally merge the results into one SARIF file for upload to GitHub Code ...
0
votes
0
answers
69
views
Fastlane CI/CD build error: “fastlane ran into a build/archive error with your project” when using xcodebuild
I’m running a Fastlane pipeline for iOS app builds in CI/CD, and my build fails with the following log output:
INFO [2025-11-04 18:09:06.48]:
ERROR [2025-11-04 18:09:06.48]: Looks like fastlane ran ...
Tooling
1
vote
1
replies
70
views
GitHub PR doesn’t wait for Terraform Cloud speculative plan to complete before allowing merge
I have Terraform Cloud connected to my GitHub repository (via GitHub App integration).
Here’s my setup:
A branch named feature-cr-001 was created from dev.
I made code changes and opened a pull ...
1
vote
1
answer
187
views
How is the branch used for GitHub environment protection rules "calculated"?
I have set up a GitHub Actions workflow like:
on:
pull_request:
types: [ closed ]
branches: [ main ]
and an environment with protection rule that only allows branch main used by some of the ...
0
votes
0
answers
41
views
Concurrency issue while updating micro-frontend manifest to s3
All MFEs are deployed using a single shared GitHub Actions workflow.
This workflow handles deployment for any MFE that has been updated and updates a shared manifest file that lists all deployed MFE ...
0
votes
0
answers
101
views
GitHub Actions job matrix with continue-on-error fails
I have the following jobs specified:
jobs:
test:
continue-on-error: ${{ matrix.allow_fail }}
strategy:
fail-fast: false
matrix:
versions:
- "latest"
...
1
vote
1
answer
57
views
Stop Rollupjs embedding absolute path inside js dist map file
I'm trying to update my GitHub action to use latest version of "base" action. All is looking fine but one PR check fails on checking if /dist directory was updated.
It finds some changes in /...
0
votes
0
answers
116
views
Codex cloud with private NPM packages, secrets not working
I'm trying to run codex for my private repo which has npm dependencies which are also private npm packages on github.
I have added to the codex environment a secret GITHUB_TOKEN which is a PAT. but it'...
0
votes
0
answers
48
views
How to "reuse" previous gradle compile for speeding up gradle test?
Context:
Spring Boot app - multi modules (100)
Gradle 8.6
GitHub Actions
Let's say I want to run unit test for 10 modules (picked from 100 modules somehow) with the minimized time.
I have one GitHub ...
0
votes
0
answers
45
views
GitHub required check not linked to workflow run
I have an issue with GitHub Actions. I have a status check that MUST pass whenever a PR is created on a specific branch. The workflow is successfully triggered, but for some reason the status check ...
1
vote
1
answer
87
views
Errors when building xcframework
I'm trying to build an xcframework from a simple spm package. Consulted AI to get help with creating a workflow that I could trigger manually in order to create an xcframework and finally upload it to ...
-3
votes
1
answer
111
views
Use GitHub workflow to prevent issue being closed
I have a workflow that checks submitted code for TODO: comments to enforce that all of them mention an open issue like TODO: #123 - handle symlinks. It works well and prevents submitters from ...
3
votes
0
answers
99
views
Github actions using matrix to run multiple commands in the same job in a loop
I have a pretty expensive github action workflow and I'm trying to reduce the amount of time it takes to run it in total. I have a big matrix configuration because I need to test my library with ...