Category "github-actions"

use selected branch on workflow_dispatch in github actions

Hi everyone, I am building Github actions workflow to use master and develop branches. I know that i can check out branch by reusing actions like below, but ho

Workaround for the runOnce deployment strategy while translating Azure YAML Pipeline to GitHub Actions YAML

I am aware that the Azure DevOps strategy "runOnce" does not have an equivalent GitHub Action yet. And I am seeking a workaround for that since I am migrating m

Github Action won't run until manually enabled

I need to create a bunch of repositories programmatically using from a local template. I have a .github/workflows/build.yml with on: [push]. However, Github Act

Download from s3 into a actions workflow

I'm working on 2 github actions workflows: Train a model and save it to s3 (monthly) Download the model from s3 and use it in predictions (daily) Using https://

Github Action ubuntu-latest to Heroku auth failed

I'm seeing this error as of today, was working yesterday and prior to that as well. Can't see that anything has changed in the Heroku documentation that might c

Jfrog action global config

Hello I am trying to use jfrog action for github: https://github.com/marketplace/actions/setup-jfrog-cli This action allows to configure jfrog. I am using it to

Python / GCP - GitHub Action & Google OAuth without committing ID

For a project using the YouTube API, I am using a function that reads my OAuth 2.0 ID from a JSON file, creates / refreshes the credentials automatically and th

bypass input values in GitHub Actions workflow to a terraform variables file

As part of provisioning google cloud resources with GitHub actions using terraform I need to bypass some input values using terraform variables file, the issue

How to use Github Actions with a Docker container with a different architecture

I would like to automate the building of an application I am writing. I want to build it for ARM64/v8 (aarch64) and amd64 (x86). I successfully created a Github

GCP terraform-google: error getting credentials using GOOGLE_APPLICATION_CREDENTIALS environment variable: unknown credential type: "external_account"

Using GCP workload identity I am not able to provision a GKE cluster by terraform from Github action. Here is my workflow file of the GitHub action: name: I

Using mysql in github workflow always leads to SQLSTATE[HY000] [1045] Access denied for user error

Im currently configuring a CI pipe for my laravel project via github actions. This is my build.yml file # GitHub Action for Laravel with MySQL and Redis name: A

Is it possible to only allow some branches to trigger Github actions?

I was wondering if there were a way to restrict the branches that can trigger an action. Here is my use case. I have a repository that have a workflow. This wor

Reduce Duplications in Github Actions

I have read and tested different things but didn't found a solution. Maybe I have to live with the boilerplate, but I am not yet done trying it. I have the foll

Self Hosted Runner for each branch prod and dev

I have 2 branches prod and dev and I need to create a self-hosted runner for each so that I can use GitHub actions to auto-deploy the branches to the respective

How to get GitHub Actions matrix job name within job?

I'm trying to upload logs separately for each failing job in a matrix. Each set of logs needs to have a name based on the job matrix, otherwise they clobber eac

How can I not execute a GitHub Action when I push a new tag?

I want that my GitHub Action that runs all tests doesn't execute when we push a new tag to the master repository because when we merge new branches we execute t

GitHub actions not copying Autosummary folder generated by Sphinx to new branch

I have been trying to create a .yml file to automatically generate python docs with Sphinx and the Autosummary extension. This is supposed to perform just at th

Mvn is not recognized as a command on Github Actions on Windows a self hosted runner

I set up a simple Github Actions workflow simply to check if my self-hosted Windows Virtual Machine is able to recognize the installed java/git/maven versions.

Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) on github actions

i have created an github action to deploy the code when pushed. it cause this error when installing the packages. Run npm i --no-optional && cd client &

Github - Take check status and update commit status

Simplifying Question: How do I make a github action that will take a specific checkstatus for a commit (pull) and update the commit status of that pull? (These