11,332 questions
0
votes
0
answers
23
views
Sync develop with master
In my organization, we release from the develop branch, and after each release, we sync master with develop. To achieve this, we create two pull requests: one from develop to main and then another ...
0
votes
1
answer
24
views
Expo env variable is cached in CI/CI since v52 update
We have a GitHub Action self-hosted runner compiler our app automatically, with a configuration looking like this:
name: Build
jobs:
deploy-ios:
runs-on: [ self-hosted, macOS ]
env:
...
0
votes
1
answer
27
views
GitHub Actions Node.js Workflow: Use Node Error
I am trying to create a Node.js workflow in GitHub Actions to build and run tests for every pull and push action on main brach.
The workflow has following jobs config:
jobs:
build:
runs-on: ...
0
votes
0
answers
13
views
When trying to deeploy from vapor from ci cd pipleine of github action getting error
hello i am new to vapor , when i am trying to deploy a geetting a error, and not able to find the log of the error,
here is the error, how can i find solution for this error or debug the issue
==> ...
-1
votes
0
answers
13
views
Wait for jobs to complete in on delete
Is it possible for a on: delete job to wait for all running pipelines to finish before running? I have a cleanup job that some times ends up in a race with a publish job,
I'm imagining something like:
...
0
votes
0
answers
24
views
--only-shell and --no-shell fails Playwright deps installation on CI [closed]
Updated playwright to the latest 1.50 version.
channel: "chromium" added to playwright.config.ts as described in the docs
On CI added command
yarn playwright install-deps chromium --only-...
-1
votes
0
answers
25
views
How to resolve "Working directory not clean" after re-running job on github-actions?
I've been experiencing this strange issue since last week.
We have a stencil.js project with a complex monorepo hosted on github.
We've got several workflows that run when a new PR is created. One for ...
-1
votes
1
answer
42
views
How to fetch github secrets in application.yml in Spring boot application?
I am trying to set up a GitHub Actions workflow for a Spring Boot application. The workflow includes setting up environment variables and then building and deploying the application using Maven, Sonar ...
0
votes
0
answers
35
views
Forbidden Error (403) in Django Test Cases on GitHub Actions
I have a Django REST framework API application hosted on AWS ECS, using RDS. I am working on implementing CI/CD using GitHub Actions, where we need to include a test suite. The corresponding CI/CD ...
0
votes
0
answers
17
views
release-please GitHub action manifest releaser to force bump all packages
I have been trying to create a monorepo that controls many packages. I've set up release-please as a GitHub action with config and manifest. The config looks like:
{
"$schema": "...
0
votes
0
answers
22
views
Using inputs inside a GitHub Actions matrix
Having the following code snippet:
on:
workflow_call:
inputs:
TEST_CLASS:
type: string
required: true
jobs:
execute-test:
name: execute-test
strategy:
max-...
0
votes
1
answer
20
views
My Playwright test execution hangs after login in GitHub Actions
My Playwright test is running fine in debug and normal mode when I ran on local, but when I've tried the same through GitHub Actions it's hung to launch the application.
My login involves Microsoft ...
-1
votes
0
answers
14
views
How can I trigger workflows across multiple repositories in GitHub Actions without modifying the main job?
I am working with GitHub Actions and need to implement a workflow where multiple jobs are interdependent across different repositories. Specifically:
JobA runs in Repository A.
JobB and JobC are ...
-1
votes
1
answer
38
views
System.getenv returns the number plus 1 in Github Actions
I am trying to author a build script for Github Actions in yaml. It goes something like this:
jobs:
build-test-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: ...
-5
votes
0
answers
27
views
Share variable between two jobs with different runners [closed]
Is there a way to pass a variable between two jobs but each job has a different runner?
So job1 has a self-hosted runner
and job2 ubuntu-latest.
Like mentioned in the docs is only working if jobs are ...
-1
votes
0
answers
25
views
Why are Vercel and Netlify auto-deploying while the GitHub workflow is running? [closed]
I'm trying to set up a CI/CD pipeline for my React app using Netlify and Vercel for automatic deployments, but I'm encountering an issue. Every time I push to GitHub, Netlify/Vercel trigger an auto-...
0
votes
0
answers
19
views
Github Actions Cache Server not create or save cache
I use https://github.com/falcondev-oss/github-actions-cache-server in my server. Then I want to cache Github Action on my server to fast build CI Docker Image but It error. I try to set docker compose ...
-1
votes
0
answers
48
views
Not able to dynamically access secret variable value of github using yaml into github action workflow by giving the secret key to another variable [closed]
I have 2 repositories secrets in Git Hub: Secret_Key1 and Secret_Key2, I also have a YAML file. Ex:
system1:
port: 3333
user: user1
key: Secret_Key1
system2:
port: 4444
user: user2
key: ...
0
votes
1
answer
20
views
The container name "/smoke-test-rabbitmq-1" is already in use by container... - Github Actions
I have an action that spins up some containers to run a smoke test, but the last time it failed, and now every time I try to run the action again, it shows this message. How can I fix it?
Error ...
-1
votes
0
answers
25
views
What's best practice for sharing secrets between multiple GitHub Projects with Different Environments (..., staging, production)? [closed]
I’m working with two separate GitHub projects:
Code Repository
Terraform Repository
The issue arises when we need to handle environment-specific values. For example, when pipelines are run on the ...
-4
votes
0
answers
38
views
Downloading artifact from old job to new job
I have configured a single pipeline (both for Validation and deployment) using GitHub Actions for doing code deployments to Salesforce environments.
the requirement is " when ever we raise any ...
-1
votes
0
answers
47
views
Error deploying .NET Aspire app to Kubernetes via GitHub Actions with Aspirate: "Object 'Kind' is missing in kustomization.yaml"
I’m trying to set up a GitHub Actions workflow to deploy a .NET Aspire application to a remote Kubernetes cluster using Aspirate. However, when applying the generated manifests, I get this error:
...
0
votes
1
answer
42
views
What does an error about not valid "name of the environment used by the job" mean and how to fix or suppress it?
I get an error in VS Code in my YAML deployment file:
Value 'Development' is not valid
The name of the environment used by the job.
Available expression contexts: github, inputs, vars, needs, ...
3
votes
1
answer
72
views
Entity Framework Core migrations fail in GitHub Actions
I have a .NET 9 project that uses clean architecture approach to structure the solution. Within the project I am using Entity Framework Core to interact with the Azure SQL Server database. I am using ...
0
votes
0
answers
23
views
Trigger GitHub Actions Workflow on Pull Request Review Submission
I want to trigger a GitHub Actions workflow when a pull request review is submitted. However, I need to ensure that:
The workflow cannot be modified from within the pull request itself.
The workflow ...
0
votes
0
answers
38
views
Pytest tests fail on GitHub Actions with async SQLAlchemy
I have a FastAPI project using SQLAlchemy ORM in asynchronous mode (+SQLite), and I run my tests with Pytest. Everything works fine locally, but in my GitHub Actions CI pipeline, my tests fail with ...
0
votes
0
answers
58
views
GitHub Actions - Authentication Failed for Pushing to Repository
I have a Organization I created, under that Organization I created two repositories
Private repo that runs the github action to build, commit and push.
Public repo that gets pushed to and hosts the ...
-3
votes
0
answers
35
views
Running the GitHub Actions
I'm just learning the usage of GitHub Actions. For my convenience and ease of use I've installed act for local use. As a starting point I'm using the following workflow:
name: output_test1_
on:
...
0
votes
0
answers
33
views
GitHub Actions runner stuck at "Initialize Containers"
I have up the GitHub Action Runner Controller (ARC) for a local Kubernetes cluster. Runners are created as expected and pick up jobs. But as soon as I add a job that is itself containerized, in the &...
0
votes
1
answer
67
views
Unable to deploy a Java Web App to Azure (from Github)
My teammate and I are trying to build CI/CD pipelines (separate pipelines), one is to check code, build and publish the maven package to Github, and the other is to deploy the app to Azure (We are ...
-2
votes
0
answers
28
views
GitHub Pages wrong domain even I didn't set a custom one [closed]
Let's assume my GitHub's nickname is 'slippinjimmy'.
Years ago, I created a repository called'slippinjimmy.github.io, but I was redirecting it to another website called slippinjimmy.com in order to ...
-1
votes
0
answers
28
views
Why I get error "Are you trying to mount a directory onto a file" on running Docker container?
Could you help me please. I made thid Dockerfile for Go project. Used variant from documentation.
FROM golang:1.23.3 AS build-stage
WORKDIR /app
COPY . .
RUN go mod download
RUN CGO_ENABLED=1 GOOS=...
0
votes
1
answer
59
views
Release a C#-BlazorWebApp Solution with multiple projects into Azure via Github Actions
as you can see in the title I have a C# BlazorWebApp with multiple projects and I want to release this solution to Azure via Github actions but it doesn't work.
To keep it small, I created a test-...
0
votes
0
answers
40
views
GitHub Actions, Pulumi GCP, Artifact Registry and Docker - Cannot perform an interactive login from a non TTY device
There are dozens of Q/A in Stack Overflow. I've applied all the solutions out there, but I keep getting the same error:
Cannot perform an interactive login from a non TTY device
For context:
I'm ...
0
votes
0
answers
40
views
Why isn’t my cross-OS cache shared when using enableCrossOsArchive: true in GitHub Actions?
I'm attempting to share a cache between workflows running on macOS-14 and Ubuntu-22.04 using GitHub Actions. According to the GitHub Actions cache documentation, setting enableCrossOsArchive to true ...
0
votes
1
answer
32
views
GitHub Actions - having trouble getting workflow_run to work
I'm having a problem getting workflow_run to work for me. I've tried to simplify what I'm doing just to get it to work but I'm still not having any luck. This is what I have.
Workflow One:
name: First ...
1
vote
1
answer
76
views
deploy-pages@v4 Cannot Find Uploaded Artifact (No artifacts named "github-pages" were found)
I am trying to deploy my project to GitHub Pages using GitHub Actions, but I am running into an issue where deploy-pages@v4 cannot find the uploaded artifact.
Run actions/deploy-pages@v4
Fetching ...
-3
votes
0
answers
50
views
# GitHub Actions Workflow: Excluded folders still appearing in generated Pull Request despite using filtered tree
** Description:
I'm experiencing an issue with a GitHub Actions workflow that creates Pull Requests while attempting to exclude specific folders.
** Current Behavior:
The workflow creates a PR from ...
0
votes
1
answer
35
views
Path confusion with Docker and Github actions
I have the following Dockerfile. When I run docker build -t oegegdepartures OegegDepartures from the root location of the project, where the .sln is found as well, the build works completely fine. As ...
0
votes
1
answer
56
views
What's the proper way to modify inputs before calling an external workflow?
I'm working with multiple repositories on the same domain that use Github Actions. I'm trying to update our deployment pipeline to run a test suite whenever changes to one of our APIs are deployed to ...
0
votes
0
answers
66
views
Automerge workflow not triggering on PRs
I have two GitHub workflows working together to automate cluster list updates in my repository:
cluster-list.yaml workflow
This workflow runs every 3 hours and:
Retrieves a list of all clusters from ...
-1
votes
0
answers
34
views
pass workflow_dispatch input boolean to workflow_call
i have a workflow that can be manually triggered (workflow_dispatch), it has a boolean checkbox. I want to see if it was true/false in a workflow that is reusable (workflow_call). However because it ...
0
votes
1
answer
33
views
Laravel Dusk v7.x and Github Actions Issues from Error to Success [Linux]
Here are all of the issues and their solutions that I"ve faced during setting up Laravel dusk locally and also on Github Actions pipeline.
Dusk Version 7.x
Php 8.0
On php artisan dusk I got ...
0
votes
0
answers
31
views
Next.js build in GitHub Actions fails due to failed Google Fonts fetching
I'm experiencing an issue when building my Next.js project in GitHub Actions. The build process gets stuck for several minutes while trying to fetch Google Fonts, and sometimes it fails completely. ...
1
vote
1
answer
68
views
Confused about the Azure Web App Deployment Center when using GitHub Actions
I have an app in Azure Web Apps which was connected to GitHub Actions. For a while, when I went into the Deployment Center, I was able to disconnect this deployment option and go back to choosing some ...
0
votes
0
answers
22
views
How to monitor github actions workflow running in parallel
I have two workflow file , first workflow triggers another workflow like below
pull-request-ready-check:
name: Pull request ready check
if: github.event.pull_request.draft == false
needs:...
1
vote
1
answer
60
views
Sphinx fails on GitHub Actions: some incomprehensible problem with Ghostscript
I have a GitHub Actions workflow to generate documentation using Sphinx. I use ubuntu-22.04 image for that and I install ghostscript because it is used somewhere internally to convert a PDF image to a ...
0
votes
1
answer
45
views
Github actions to test python scripts after creating and activating conda environment not working
I have a repo where there are a bunch of python scripts, and there's a environment.yml file to create a conda environment with. I run tests by:
conda env create -f environment.yml
conda activate ...
1
vote
3
answers
67
views
Docker Build does not pass secret via --mount=type=secret
Problem
I am using docker/build-push-action@v6 in a GitHub Actions pipeline to build a Docker image. I am trying to pass a pip.conf file as a secret during the build, but --mount=type=secret cannot ...
-4
votes
0
answers
43
views
Error on GitHub workflow while the command "npm run build" is executed
I'm trying to create the auto-deploy of my React - Node app on a server, but I don't know why the npm run build command for the frontend "compilation" works if I do it with my own SSH ...