Questions tagged [github-actions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
19 views

How to compile Latex with Github Actions

I'm not sure if this is the right place to ask this but I'm basically using git and github for version control for writing my thesis. My idea was to have a github action that compiles the code ...
0 votes
0 answers
8 views

how to authenticate with the openvpn which has microsoft authenticator time based OTP authenticatiopipeline?

I have a cluster in the AWS EKS. We are using OpenVPN to connect to the cluster namespace and to connect to OpenVPN, we enabled the Microsoft MFA authenticator (Time-based OTP). The GitHub action ...
0 votes
0 answers
9 views

Using a Specific User for GHA jobs

I have a bunch of GHA runners running as pods in k8s. I want to make sure that these jobs are running via a specific user, like user tom. I have tom setup as a k8s pod user via the container image. ...
0 votes
0 answers
14 views

GitHub Actions jf nuget setapikey filename too long

Run jf nuget setapikey ***:*** -Source https://artifactory.someCompany.com/artifactory/api/nuget/v3/nuget-virtual-repo 10:06:47 [Info] Running nuget... The API Key '***:***' was saved for 'https://...
0 votes
0 answers
14 views

What is the best practice for containerising a cross-platform CI/CD environment?

I'm looking for advice on what the best practice is for implementing a containerized CI/CD environment within GitHub Actions, which supports Windows, MacOS & Linux (Ubuntu) environments, used for ...
1 vote
3 answers
63 views

How does Github Actions work with docker containers?

Consider this GA workflow: name: My GA Workflow on: push jobs: myJobName: runs-on: ubuntu-latest container: cypress/included:10.6.0 steps: - name: Ensure tools are available ...
0 votes
0 answers
105 views

How to upload a file as user input in Github Actions workflow?

I would like to upload .env file to a build in Github Actions. Is there any way I can do it?
  • 101
0 votes
1 answer
35 views

Publish python package into private repository behind VPN

I'm using Github Actions to publish my python packages automatically. When working with PyPI everything works fine and providing different config to point on different repository is not an issue. But ...
0 votes
0 answers
191 views

Why did Github test failed? go: go.mod file not found in current directory or any parent directory

This is my repo helm-gh I have two problems. Why was ci.yaml skipped in Github flow? Why do I have go: go.mod file not found in current directory or any parent directory It seems that I should have ...
0 votes
0 answers
66 views

How do I download GitHub Artifacts from Azure DevOps Release Pipeline?

I have a GitHub workflow that creates Artifact(s). I also have a last step within that workflow that triggers an Azure DevOps Release Pipeline. I modified an existing release pipeline to change the ...
  • 101
0 votes
0 answers
304 views

how to pass run time environment variables into bash script

I am using GitHub actions to create an virtual machine in Azure where I am getting some variables as build parameters and storing it into the environment variables. now I need to use that environment ...
0 votes
0 answers
34 views

php-actions/phpunit GitHub action alternatives

I ran into a problem with php-actions/phpunit GitHub action, and reported that issue to action developers, but it was a while ago, and my team can't get a valid feedback about their PHP tests beacuse ...
  • 101
1 vote
1 answer
229 views

Can we run github actions inside a docker container?

Is it possible to run github actions inside docker container like jenkins?
0 votes
0 answers
67 views

Create a Release in Github from a Tag using Github action

I want to create a Release in Github from a Tag that I used to deploy my changes in staging environment. I used the below step and tried adding sha value of my tag so that a release would have those ...
0 votes
0 answers
108 views

GHA with Semantic Versioning fails from Different branch

I am trying to integrate Github Actions with Semver. My Semver settings looks like this module.exports = { branches: [ 'main', {name: 'beta', prerelease: true} ], repositoryUrl: "https://...
0 votes
1 answer
839 views

decode base64 Github Secrets

I am setting up a pipeline to run Cypress automated tests using github actions/workflows on my code anytime there is a push to the repo. I came into a scenario where I want to generate dyanmic .env ...
0 votes
1 answer
87 views

Run a dev server in CI pipeline

I have a CI pipeline setup using Github Action/Workflows, where I want to run Cypress Automated tests; however I am having some problems of when trying to run my dev server. Let me show you my ...
0 votes
1 answer
283 views

How do I force Packer to use Azure client secret in GitHub Actions workflow?

I use the following yml workflow in GitHub: - name: Packer Build run: packer build -force -var 'client_id=${{ secrets.AZURE_CLIENT_ID }}' \ -var 'client_secret=${{ secrets....
  • 11
1 vote
0 answers
136 views

Building docker image of nuxt application using github actions fails (heap memory size exceeded)

I am trying to setup Github Actions workflow to automatically build and push docker image of my nuxt app, When the workflow finishes and I pull the image and run it, the web application doesn't load ...
2 votes
1 answer
191 views

Why should I tag a commit to create a release?

I work on a new CICD, replacing Jenkins-X 2 by GitHub Actions. After seeing a lot of actions to create a release + changelog, I found that a lot of them are trigger by a tag on a commit to launch the ...
  • 41
2 votes
1 answer
186 views

How to configure EC2 inbound rules for GitHub Actions deploy

I have a GitHub Actions workflow to deploy a service to an EC2 instance. I have currently opened the SSH access to all IPs but I want to restrict this to IPs used by GitHub Actions runners. However, ...
  • 123
3 votes
1 answer
166 views

Incorporating python linter(flake8) in the CI/CD pipeline that use GitHub, Github Actions in a code base that is not in compliance

I have a codebase that is not in compliance with flake8. The CI/CD pipeline uses GitHub/GitHub actions. I would like to start adding python flake8 (to check for complexity, errors and code smells) ...
1 vote
0 answers
33 views

Taking a bash command's output and putting it into a message in yaml for GitHub actions?

I have the following Github Action workflow that is intended to read our lines of code coverage from a coverage.txt file and print the coverage as a comment. name: Report Code Coverage on: ...
1 vote
0 answers
24 views

Github action for displaying the number of out of date package dependencies

How can I add a shield to my .README that displays the current number of out of date dependencies in my package.json? Whenever I run my github action "Firebase CI", I'd like the the badge to ...
1 vote
0 answers
17 views

How to use old server repository path for GIthub action CICD (self hosted)

I have a production server where I already have a my project repository. Now I have setup github action for CICD. I have given my workspace path, but it is creating 2 subdirectory with same name as my ...
3 votes
3 answers
256 views

pypa/gh-action-pypi-publish token value 'does not start with "pypi-"'

I am trying to use the pypa/gh-action-pypi-publish action in GitHub to push a Python package to PyPI. I'm in the team that owns microbiomedata/nmdc-schema and successfully uses a GitHub action to ...
1 vote
0 answers
23 views

Our code is behind a firewall and we don't want to put source code in cloud. Are there any good CI/CD using local agents for Azure/Github actions

Our source code is in our servers and we don't have approval to put it in cloud. We don't have a seamless CI/CD. Can we use Azure pipeline agents or any local agents to build our code and only export ...
4 votes
1 answer
118 views

How do I prevent a given GitHub Workflow from being launched twice from two almost simultaneous events?

I have a repo, in which there is one folder at the root with a Makefile to build a C library. In the same repo, there is another folder at the root with a folder with another Makefile for building a ...
0 votes
1 answer
222 views

How can I use a buildah script for image generation using GitHub Actions?

Buildah scripts typically use shell. You can see an example of a script here, #!/bin/sh ctr=$(buildah from alpine:3) buildah commit "$ctr" myAlpineImage Let's say I have such a shell script ...