Category "github-actions"

How to use GPG key in github actions?

I am trying to do a maven deploy via GitHub actions and i am getting the below error:- gpg: directory '/home/runner/.gnupg' created gpg: keybox '/home/runner/.

How to stop github from modifying my files (in workflow)?

On github.com, I have a little 6-byte file hello.txt consisting of "hello" and a newline:1 In an Ubuntu-18 workflow with runs-on: ubuntu-18.04, we have: But o

GitHub Actions Status Check Pending

I have a GitHub required status check which gets executed every time a PR is opened/edited/reopened/synchronized to master. The action itself gets executed succ

How to setup default rust compilation target on CI using rustup command on github actions?

I need to compile my code for both 32 and 64 bit windows. As far as I understand, I basically need to configure my CI so that this command: rustup default print

Using Docker image from Github registry is unauthorized

I created Docker image locally Tagged it for Github Docker registry Pushed it to Github Docker registry Now I want to use it in Github action that create Docker

Github Workflow: How to map input option to value

I have the following input set up for my Github Workflow on: workflow_dispatch: inputs: environment: type: choice description: Envir

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

How to add config args to postgres service container in Github Action?

I am using Github Actions Service Container to start a postgres instance like so: name: Pull Request on: pull_request: branches: - main - sta

how to make a github action matrix element conditional

I have a workflow that uses 'strategy' = 'matrix' and a list of specific configurations to build. Link to Workflow YAML (also provided below) # # build-N-test-v

How to pass arguments in bulk to another step in a Github Action?

I want to pass the value set by core.setOutput to different steps at once. So I passed the outputs of the step hello-action to another step: //index.js const co

Laravel + phpunit + github actions = Failed asserting that '1' is identical to 1

I'm trying to make CI pipeline and run phpunit tests via GitHub actions. First of all: tests work fine on my local machine (mac os). Then, when I do git push my

Github actions How to only run a step when merging into master

I have been trying to get this right for hours, and nothing I have managed to find has helped. I am trying to setup a github action that will run tests on every

Why can't I push tags in GitHub workflows anymore, and how do I fix it?

My team has a GitHub release workflow that automatically tags our prod branch on push. It has been working fine for the last year, with the most recent success

Github Actions, Deploy ARM template with Microsoft.Authorization/roleAssignments

i ve been trying to deploy an ARM template with Github Actions and keep falling into the same problem no matter what I tried: Authorization failed for template

cURL request not working in GitHub actions, works locally

I’m attempting to make a cURL patch request via a GitHub action that executes when I make a push. The cURL call works perfectly when I execute it in Windo

Determine source branch name on merge push in GitHub action workflow

I have a GitHub action workflow where I am doing a merge of various different source branches into target branch main. Here is a test workflow to read the value

Using GitHub Actions to automatically update the repo's submodules

Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master w

How to update/cherry-pick other branches on push on specified branch?

I would like to create GitHub action that is triggered by push on specified branch X. This action will push/cherry-pick changes made on branch X to other branch

How to run GitHub Actions workflow only if the pushed files are in a specific folder

I have a folder structure that looks something like this. - folder1 - file1 - *other files* - folder2 - file1 - *other files* - .gitignore - package.jso