Skip to main content

Questions tagged [github-actions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
12 views

Free CI/CD platform for builds?

With AppCenter retiring, my team(of over 10 people) is looking for an alternative solution that can integrate with our private Github repo to create beta test builds for our React Native app, if ...
Bob's user avatar
  • 99
0 votes
0 answers
31 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,251
1 vote
1 answer
56 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
34 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
60 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,251
1 vote
1 answer
22 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,251
0 votes
1 answer
80 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,251
1 vote
1 answer
244 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
2 votes
1 answer
903 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
60 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
1 vote
1 answer
52 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
1 vote
2 answers
335 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
564 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
118 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
114 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
1 vote
1 answer
336 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
2 votes
1 answer
995 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
  • 121
0 votes
1 answer
137 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
2 votes
1 answer
862 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
212 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
801 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
308 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
699 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
953 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
3 votes
3 answers
592 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
68 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
471 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
334 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,251
3 votes
1 answer
8k views

GitHub Actions Runner execute commands with sudo GitHub Actions

I have a GitHub action set on self hosted Ubuntu VPS on Linode. I ran sudo ./svc.sh install and then ./svc.sh start. The runner is up and working but I have a command in my yaml file that needs to run ...
Takasur's user avatar
  • 161
1 vote
1 answer
209 views

Github Actions Last Build API

I'm looking for an option similar to Jenkins where I can view the last build, last successful build, last failed build, etc. with a simple api call. The Jenkins example would be: jenkins_url + /job/${...
Preston Martin's user avatar
  • 3,278