Category "github-actions"

How to trigger a `workflow_dispatch` from Github API?

From the GH Rest API docs, seems we're able to create a repository_dispatch event, but no workflow_dispatch event. In the GH GraphQL API, I couldn't find how to

How to integrate terraform state into github action workflow?

I have the github action workflow outlining the simple process of spinning up terraform to create resources in Azure. What I am missing is how to integrate the

PIp install from git repo inside docker build with github actions

I'm working on segregation of common modules into dedicated repositories for our github organization. Use pip install from git repo in Dockerfile to install sha

Github Actions to Bump Version and create a Release

Trying to make a CI pipeline that will bump root package.json and tag repo using a machine user access token, then have another workflow that triggers to make r

Github Actions pm2: command not found

I am trying to auto-deploy the project and npm commands run perfectly but when it goes to a line where pm2 restarts the specific projects, then actions fails. G

How to execute a a remote script in a reusable github workflow

I have this workflow in a repo called terraform-do-database and I'm trying to use a reusable workflow coming from the public repo foo/git-workflows/.github/work

How to use reusable GitHub workflows and keep secrets in a single place?

While reusable GitHub workflows do help with maintenance of GitHub Actions in general, reducing a lot of copy/paste from one repository to another, they still s

Error on trying to add Private key with SHA-2 to AWS Opsworks

I am using OpsWorks Chef 11, it was working fine till 15 march 2022. now getting: ERROR: You’re using an RSA key with SHA-1, which is no longer allowed. P

Github Actions - How do you trigger a push when a specific directory in a branch gets an update?

I want my workflow to trigger on a push only if there are changes made to a specific directory. Is this possible, what am I missing? I tried doing something lik

Github - Auto assign Issue to Project

I would like to Auto Assign an issue to a project in Github. Basically automate the below screenshot for every issue automatically opened. Any ideas?

Code Signing issue when Archiving using Fastlane in Github actions

Recently we have migrated all of our iOS projects from GitLab to GitHub. However when we are trying to build the code using GitHub Actions(Fastlane) In our self

Github Action Status check missing from the list of checks in Protected branch settings

I have the following github action setup that triggers fine on creation of Pull Request. But it does not show up in the status checks list of protected branch (

Is there a way to use NodeJS to append to a github file with github actions?

I have github actions setup on my repo but I have this: // make a socket.io for a connection // fs // prefix (t!), stuff socket.on('message', funct

Secrets doesnt pass from github action secrets to reusable workflow in github actions

I created secrets in github actions and trying to use them in reusable workflow, but I am unable to make it work, However, If I pass secrets hardcoded from call

Job as a variable and use variable inside this job | github action & yaml

I'm currently deploying a security tool for my cluster. It worked well but I want to reduce the length of the code and avoid repeating code inside the file. Her

github action pip dependencies not working after found cache

I had wrote a workflow that included caching, following the docs of action/cache@v2. I'm using docker-compose to host my postgres db and doing tests with django

How to cache yarn packages in GitHub Actions

I am using GitHub Actions to build my TypeScript project. Everytime I run action I am waiting 3 minutes for all dependencies to get installed. Is there way to

GitHub Actions - Specify Multiple Tags with docker/build-push-action@v2

Is there a way to specify multiple tags when using docker/build-push-action@v2? I tried specifying multiple tags separated by a space or comma and they both fai

How do I use an env file with GitHub Actions?

I have multiple environments (dev, qa, prod) and I'm using .env files to store secrets etc... Now I'm switching to GitHub Actions, and I want to use my .env fil

Github workflow event trigger synchronize not working?

I have the following github workflow definition: name: Build on: pull_request: types: [ opened, edited, synchronize ] paths-ignore: