Category "github-actions"

How do I get the output of a specific step in GitHub Actions?

I have this GitHub Actions workflow which runs tests, but now I am integrating slack notification in it. I want to get the output of the Run tests step and send

Add an Ignore file to github CODEOWNER

I have a simple repo that has branch protection / CODEOWNERs set to: * @team Is it possible to add a file / folder to CODEOWNER to make it be ignored? Ive trie

In a Github Action how to conditionalize a step based off the previous step's output?

Building a Github action based on the commit message I'm trying to base a step on whether the commit message contains a particular string, set it to a variable

Only run job on specific branch with GitHub Actions

I'm relatively new to GitHub Actions and I have 2 jobs–one that runs my tests, and one that deploys my project onto a server. Obviously I want the tests

Invalid expression errors when building .NET Framework solution with Github Actions

I'm trying to build and run test for my solution in Github Actions. App is written in .NET Framework 4.7.2 and when I build or test it locally with the same msb

Is there a way to set path for docker build with the github action plugin docker/build-push-action@v1

I have a docker build action as below - name: build-push uses: docker/build-push-action@v1 with: username: ${{ DOCKER_USERNAME }

az cli deployment fails with Python error

I am deploying ADF linked templates from ADLS through GitHub Actions and pipeline fails withy generic Python error: ERROR: 'str' object has no attribute 'get' I

JUnit tests fails on GitHub Actions but not locally

I am trying to run JUnit tests on GitHub Actions but some of it fails. Locally all tests passed. On my PC I am using Ubuntu 20.04 with OpenJDK 1.8 (275), on CI

How to use curl's response in other run commands in github actions

Trying to get the response from curl and use it in subsequent commands. Not sure what should be the correct syntax here. - name: Get Token run: |

ERROR: error fetching storage source: generic::unknown... When deploying GCP Cloud Function via GitHub Actions

I'm deploying a Firebase Cloud Function via this GitHub Action. When I deploy from my own machine using a service account it works fine. When running the Action

Docker pulling unauthorized - Docker and Github actions

my deploy script is as follows: - name: Log in to GitHub Packages run: echo ${PERSONAL_ACCESS_TOKEN} | docker login ghcr.io -u ${{ secrets.NAMESPACE }} --

NPM CI error bindings not accessible from watchpack-chokidar2:fsevents

When I run npm ci on Github Actions I got the error: Run npm ci npm ERR! bindings not accessible from watchpack-chokidar2:fsevents npm ERR! A complete log of t

Windows. How set GIT_TERMINAL_PROMPT=1

Now I have GIT_TERMINAL_PROMPT=0 . And if I do git clone https://github.com/some/non-existing-repo - will fail without prompting for username & password. I

How to combine having serverless and docker in github actions

I am running my tests on aws lambda with the use of custom image. I'm using serverless for the configuration and the build of the image. Process works fine loca

Single Push Without Github Action

I have a github repository for which I have an CI script set up using Github Actions. On 95% of the pushes into main, we need to run the script, so the script i

Single Push Without Github Action

I have a github repository for which I have an CI script set up using Github Actions. On 95% of the pushes into main, we need to run the script, so the script i

Problem downloading package from git actions, results in mangled URL

In our git actions output for testing our custom R package (hosted on github), we're experiencing an error during execution: Error in utils::download.file(url,

Trigger diferent jobs depending on pull request type

I'm trying to reduce the amount of files I have for my workflows from 4 to 1. And with that my on is like this: on: pull_request: types: [opened, synchron

Github actions: Dependencies lock file is not found in runners/path

I have a single Github repository for both server and frontend. The directory structure looks like: root |- frontend |- server (Express App) Github Action:

How AWS Credentials works at GitHub Actions With MFA

Not able to create s3 bucket from terraform code to create s3 bucket. I have code uses: hashicorp/terraform-github-actions/[email protected] env: TF_AC