Category "github-actions"

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:

The unauthenticated git protocol on port 9418 is no longer supported

I have been using github actions for quite sometime but today my deployments started failing. Below is the error from github action logs Command: git Arguments:

Github Action trigger on release not working on tag

I've created a "publish" workflow in new repository that publish my project on new release with this trigger on: release: types: - created In my loca

"An invalid argument was supplied" when attempting to create self-hosted GitHub action runner

I'm attempting to go through the setup process for self-hosted github runners and I'm running into an issue when attempting to start the configuration process.

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: |