Questions tagged [github-actions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Does GitHub CI support push options?

GitLab has a whole page of documentation on the git push options that it supports, https://docs.gitlab.com/ee/user/project/push_options.html Does GitHub support any push options? I would like to ...
Evan Carroll's user avatar
  • 2,089
-1 votes
0 answers
40 views

Docker build fails on GitHub Actions

I'm getting an error when I run a Docker build and push script through GitHub Actions. This is the error: # ------ Dockerfile:48 # -------------------- 46 | RUN adduser --system --uid 1001 nextjs ...
us321321's user avatar
1 vote
1 answer
39 views

What would be the best approach or tool to deploy one-off SQL scripts?

A vendor is supplying one-off "hot fixes" and I am trying to streamline these deployments best I can. Currently I am going out to an FTP site, downloading the SQL scripts and manually ...
Eric Swiggum's user avatar
-1 votes
1 answer
10 views

How to deploy AKS without exposing cluster API to the internet?

How to deploy Azure AKS kubernetes in a private network mode without exposing cluster API to the internet? I need to deploy React with Github actions and test that it's working
cyrax1441's user avatar
0 votes
1 answer
35 views

How can I easily leak secrets and read the value with GitHub Actions?

GitHub actions seems to block out both the secret, and the base64 dump of the secret. Is there any easy way to dump all of secrets, or a list of secrets, from GitHub Actions? I need to be able to read ...
Evan Carroll's user avatar
  • 2,089
1 vote
1 answer
15 views

Does Github Actions support anything but Ubuntu?

I see in my Github actions runs-on: ubuntu-latest What other distros are available? For example, can I run on Alpine or Debian?
Evan Carroll's user avatar
  • 2,089
0 votes
1 answer
34 views

How can you retrieve (read) GitHub secrets without invoking CI?

Github has a functionality called "Secrets" made for GitHub Actions (which is their CI). These secrets are easy to read from the CI. You can do it like this, env: # Or as an environment ...
Evan Carroll's user avatar
  • 2,089
1 vote
1 answer
72 views

Github Actions : Reusable workflow across multiple organizations

I have a query in regards with Github workflows. Consider the below scenario : Github Organization 1 : sample_one Github Organization 2 : sample_two sample_one organization has one repository ...
Rezzerk's user avatar
  • 11
0 votes
0 answers
4 views

GitHub Variables not available in .NET test file

I wrote some F# tests with NUnit, all of them pass just fine when I run them locally. The project is also uploaded on GitHub, there the paths are incorrect. I wrote as well tests in PowerShell ...
Alex_P's user avatar
  • 101
2 votes
1 answer
346 views

What are the differences between Azure DevOps (Pipelines) and GitHub Actions?

My team is thinking of switching from Azure DevOps to GitHub Actions, currently we are using Azure DevOps Pipelines to handle code deployments. Our release pipelines are configured in a way where they ...
Eric Swiggum's user avatar
0 votes
1 answer
48 views

Github Actions: How to export a variable from within Docker and reuse across steps?

We’re developing embedded software which needs to be compiled inside an SDK container. I’m setting up a CI/CD pipeline so that we can compile, ssh-copy and ssh install it on the remote device. To make ...
psisis's user avatar
  • 1
0 votes
0 answers
150 views

AWS Amplify + Flutter: How to do CI/CD?

Background I am using AWS Amplify to build an app that uses S3 and Amplify authentication. I want to use CI/CD to automate deploying for people who only want to learn Flutter. I setup my project in ...
Ananas_hoi's user avatar
1 vote
1 answer
49 views

How many deployment environments are appropriate for SPA + API architecture?

My company uses Azure as our cloud-infrastructure provider, and we are making use of their Azure Webapp PaaS offering to individually deploy our SPA (react.js) and corresponding API (Golang). Haven't ...
Hassan Zaidi's user avatar
0 votes
0 answers
86 views

bundle install private gem from GitHub actions

I'm setting up GitHub actions for one of our ruby projects and it requires a gem that is from a private repo on GitHub. I know I can check out whatever repo I need with the checkout action, but how do ...
StaticMethod's user avatar
1 vote
2 answers
286 views

CI statistics for GitHub actions

I'm in the process of migrating to GitHub Actions and I'm looking for some way to get statistics on my GitHub workflows like The average time it takes to build The build success rate The average time ...
StaticMethod's user avatar
0 votes
1 answer
425 views

"An unknown error occurred" when authenticating between GitHub Actions and AWS using OIDC

I was unable to successfully authenticate when attempting to create a GitHub Actions workflow that would authenticate with an AWS IAM Identity Provider (IdP) using Open ID Connect (OIDC), based on ...
Edward Moffett's user avatar
1 vote
1 answer
86 views

Best practices for managing Github actions + workflows in an organization?

In my organization, we have more than a hundred repos, most of them use their own workflows but also reusable workflows that are located in a designated repo, that also holds all of our self made ...
RotemGT's user avatar
  • 11
1 vote
1 answer
82 views

User-level secrets in GitHub Actions

I would like to create a GitHub workflow for running tests against a REST API. The API needs a key that is always tied to a user, there is no global "testing" key. Is there a way for each ...
Parzival's user avatar
0 votes
0 answers
13 views

How to find failed steps with `gh`

I have a Github Actions workflow which contains several steps that allow continuation on error via continue-on-error: true. It is a scheduled workflow; the steps are independent of each other, and one ...
AnoE's user avatar
  • 4,874
1 vote
1 answer
256 views

Upload pages artifact without overwriting previous data

I am trying to create a GitHub workflow that would essentially deploy multiple static websites to GH Pages. The sites would live in their own subfolders beneath the (website) root, and the catch is ...
basse's user avatar
  • 111
1 vote
3 answers
2k 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 ...
Greendrake's user avatar
1 vote
1 answer
862 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?
Nitesh B.'s user avatar
  • 111
0 votes
1 answer
129 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 ...
GopherM's user avatar
  • 103
1 vote
1 answer
771 views

Can we run github actions inside a docker container?

Is it possible to run github actions inside docker container like jenkins?
user48951's user avatar
3 votes
1 answer
3k 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 ...
uneeb meer's user avatar
0 votes
1 answer
191 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 ...
uneeb meer's user avatar
0 votes
1 answer
747 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....
Pascal's user avatar
  • 11
2 votes
1 answer
278 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 ...
benCat's user avatar
  • 71
2 votes
1 answer
623 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, ...
RichardM's user avatar
  • 123
3 votes
1 answer
838 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) ...
MasterOfTheHouse's user avatar
0 votes
0 answers
341 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: ...
Matthew Gaiser's user avatar
0 votes
0 answers
39 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 ...
ANimator120's user avatar
3 votes
3 answers
553 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 ...
Mark Miller's user avatar
1 vote
2 answers
64 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 ...
user2566272's user avatar
6 votes
2 answers
416 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 ...
Tristan Duquesne's user avatar
0 votes
1 answer
331 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 ...
Evan Carroll's user avatar
  • 2,089