Questions tagged [github]

Github is an online service for using git repositories to enable social and collaborative coding.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

ssh not looking for private key at $HOME

I have a Kubernetes pod with a persistent volume mounted at /data. I am trying to use the pod for remote development and as such, need to ensure that my private ssh key persists upon pod restart so I ...
Harry Stuart's user avatar
0 votes
1 answer
25 views

Cannot update Github key from CLI

I have only just tried to use github via git on the cli for the first time since they leaked their key and it needed resetting. I added the new key into known_hosts under users/luke/.ssh (Windows 11) (...
Luke Briner's user avatar
0 votes
0 answers
162 views

Passing Variable between GHA steps

I'm trying to pass variables from one steps to another step in github action . Below doesn't work . Is there way to do it ? jobs: eks_delete_resources: runs-on: code-default defaults: ...
Sudharsan Punniyakotti's user avatar
0 votes
0 answers
206 views

Jenkinsfile - Build only if change in a specific subdirectory, how to manage post action

Basically, we're doing trunk development here, and got tons of services under the same directory. I have a Jenkins job that is triggered through GitHub webhook, and that will do some actions only if ...
SBO's user avatar
  • 544
0 votes
0 answers
46 views

Is there anyway i can build iOS app using Jenkins without using MAC machine (even without using slave MAC mechine)

In our organisation, we have Jenkins master server running on Linux, and able to build the Android apps and deploy it to app store. But how to use the same Jenkins server to build the pipeline for the ...
Rajsekar Reddy's user avatar
0 votes
1 answer
22 views

Github Deploy Key Pattern

My Deployment Pattern I have a setup as shown in the diagram above, where have a github account which owns a number of private repositories. I have a number of machines in the field that each include ...
Kevin John's user avatar
1 vote
1 answer
57 views

How to point DNS CNAME to external GitHub Pages domain?

I have repository on GitHub with GitHub Pages set up. If I go to myusername.github.io/my-repo everything works correctly. But, I would like to have my own domain name that looks better than that one. ...
Vlad Mashkautsan's user avatar
0 votes
0 answers
148 views

Why does my nightly TeamCity build fail, when it builds successfully during daytime?

I have a local TeamCity installation on my work PC. I've set up TeamCity to pull and build nightly. Checking the build logs, I can see that it is failing to collect changes whenever this build trigger ...
afarley's user avatar
  • 213
0 votes
1 answer
311 views

How to block git push to github

My organisation is trying to block 'git push' to repositories on sites like Github, Gitlab etc. Currently they have blocked the website, however users are still able to clone and push code via git. ...
Birla's user avatar
  • 130
0 votes
1 answer
248 views

Vagrant : how to create a box from aws ami?

I see vagrant as a great tool for testing and I am surprised the aws plugin (here https://github.com/mitchellh/vagrant-aws but which seems deprecated) is here to instanciate ec2 and not copy same ...
user19413311's user avatar
4 votes
2 answers
9k views

Ubuntu Server 22.04.1 LTS "failed to connect to https //changelogs.ubuntu.com/meta-release-lts. Check your Internet Connection or Proxy Settings"

When I logged in to my Ubuntu Server in VirtualBox this message appeared below "failed to connect to https //changelogs.ubuntu.com/meta-release-lts. Check your Internet Connection or Proxy ...
SeniorBear's user avatar
0 votes
0 answers
870 views

kuberntes oauth2-proxy with github provider return 500 Internal Server Error

I'am trying to add an authentication from Kubernetes ingerss with oauth2-proxy github provider i have set everything according to the official documentaion the url works and it redirects me to use my ...
ossama assaghir's user avatar
0 votes
0 answers
36 views

Is there any way to display a MOTD when running `git fetch` or `push` or `pull`?

I have a situation where it would be useful to display a message to users when they push or pull or fetch from the command line from our internally hosted Github Enterprise service. After some ...
Rob Fagen's user avatar
0 votes
1 answer
990 views

github login with gh tool with ssh key only

Problem description I'm using the command: ssh-keygen -t ed25519 -C "my description" -N "" -f ~/.ssh/gh-test gh repo deploy-key add ~/.ssh/gh-test But I get this error then: To ...
qknight's user avatar
  • 161
0 votes
1 answer
3k views

Gettings Warning: Permanently added 'github.com,140.82.x.x' (ECDSA) to the list of known hosts

Having some issues with repetitive logs inside nodejs container, this is my flow : Nodejs container fetching ssh key(private key) Loading it into ssh-agent (eval "$(ssh-agent -s)" &&...
Eyal Solomon's user avatar
0 votes
1 answer
86 views

Pull ssh key from github server

Many users have their own public ssh keys on github. Is there an easy way to get it knowing someone else's username? I know it's possible - the ubuntu installer gets the keys somehow - but I can't ...
undefine's user avatar
  • 1,046
0 votes
0 answers
175 views

Keeping env file in github actions

during migration few projects from gitlab to github I encountered a problem. In gitlab there is something like file type of env variable. So usually in CI configuration I used eg. kubeconfig file (for ...
RedBluff's user avatar
0 votes
1 answer
29 views

How to have a single pipeline run and single commit in github?

In jenkins, we can schedule poll scm to check for every 1 hr, 2hr,etc. In the meanwhile, even if we add n number of commits, let’s say poll scm is 1 hr After 1 hr, it will check for latest commits and ...
user2331760's user avatar
0 votes
0 answers
296 views

git fetch, git pull hangs in my VM in GCP

I am a GCP user. I have a VM that is running in GCP. But recently, when I try to run the "git pull" or "git fetch" commands to update my project, it just hung there, and there are ...
Louis Hong's user avatar
0 votes
0 answers
319 views

How to fetch variable values from another repo, github actions?

We have added workflow to our repository. But there is a job or step inside it which need to run only of a pariticular variable is set. That variable we set as part of github respository secrets. But ...
user2331760's user avatar
0 votes
1 answer
67 views

Automate Kubernetes Deployment using ArgoCD

We have a GitHub repo containing all the Kubernetes cluster yaml files, When we want to update a deployment we simply edit the yaml and push to GitHub. Unfortunately, we then have to kubectl apply -f ...
Birdy's user avatar
  • 103
0 votes
1 answer
1k views

Error "no matching mac found" with ubuntu 10.04 and github

I have a web application mounted on an old server with Ubuntu 10.04.4 LTS and for a short time I have not been able to deploy it due to a problem that occurs with the connection to github to download ...
GooSH's user avatar
  • 1
0 votes
2 answers
415 views

How to invoke a .env file into a Django project that runs in a Docker container on a K8s server?

I most likely only need a hint into the right direction. I have a docker container running a Django app using gunicorn and nginx. This Django app is currently getting its environment variables from a ....
David's user avatar
  • 159
0 votes
1 answer
2k views

How to keep duplicate repository in sync with github?

I have used github duplicate option with --bare in clone and uploaded to a different account in github.com Used as in this link Just as a process to handover the project to another team. But there are ...
user2331760's user avatar
1 vote
0 answers
275 views

github not accepting private SSH Key

I have a Private ED25519 SSH key, on a Windows system (using WSL). Permissions of the private key are 400 and permissions on the Public Key are 444. When I test my connection, using ssh -Tvvv git@...
Reuben deVries's user avatar
1 vote
1 answer
3k views

How to send notifications to teams using azure devops pipeline?

I saw there is a teams app for azure pipelines and while adding that it is asking for complete pipeline access to the group we add to. Instead of using this, I just want to send notification to a ...
Sara June's user avatar
  • 431
0 votes
0 answers
124 views

Unable to create pipeline even having write permissions on github,how to fix that?

I have write permissions to the repository, and I can create branches, create pull requests and even merge them also. But, when creating pipeline on azure, I get this error: What I need to add more ...
Sara June's user avatar
  • 431
2 votes
0 answers
703 views

How to checkout a branch from azure devops pipeline?

I kept trigger to cloud_singlesignon branch. But my pipeline saved to azure-pipelines and the default branch to the repo is master. But the checkout not happening from cloud_singlesignon. I observed, ...
Sara June's user avatar
  • 431
1 vote
1 answer
920 views

How to tag docker image with git commit code short id, in azure devops?

I saw few links where I can tag my docker image using ${Build.SourceVersion} in azure devops pipeline. But it is using the complete ID of the commit. But I want to use only the short ID. I mean this (...
Sara June's user avatar
  • 431
3 votes
2 answers
823 views

How to keep pipeline files in a separate repository for azure devops pipeline?

Is there any way to keep the pipeline file separately in a different repo than the one in source code? So that, we can maintain all the pipelines related data in a separate repository but the pipeline ...
Sara June's user avatar
  • 431
2 votes
1 answer
2k views

How to authenticate and push to GitHub from a CI Script

I keep my development on a personal GitLab server. In my CI/CD script, I want to push the repository to a public GitHub repo when a new tag is created. The CI/CD runs in an ephemeral Docker container, ...
PrestonDocks's user avatar
0 votes
1 answer
154 views

https request on github.com subdomains return wrong 301 redirections to domain

First When executing curl -iv4 https://support.github.com/contact I am receiving 301 responses with location https://github.com/contact. Obviously when executing curl against the location returned ...
Bamboozilla's user avatar
-1 votes
1 answer
408 views

Is Gitlab the only vendor support subgroups level git repos?

Try to evaluate a few SaaS Git providers (e.g., Github, Bitbucket) other than Gitlab, but I don't think any of them support a subgroup level repo mycompany/backend/core.git mycompany/devtools.git ...
samxiao's user avatar
  • 101
1 vote
1 answer
169 views

Using git and github to share a folder content that has to be updated daily

I have a folder that I want to publicly share with others, the content of the folder suppose to be updated daily: some files gonna be changed, some are deleted, some are added. I would like to use ...
Ra Spirit's user avatar
0 votes
1 answer
114 views

Apache or NGINX + GitHub runner

I have a development server that I'm currently using for beta-level production (mostly sending out to my clients for proof of work). So what I wanna do is use my runner to automatically sync with main ...
Kaan refik Kaan's user avatar
2 votes
1 answer
310 views

Cannot SSH to github.com after changing to static IP

I've been using github.com for a long time, but just had my ISP switch my home internet to a static IP and now I can't SSH to github. What happens with SSH? The id_ed25519 key has just been re-...
Capn Sparrow's user avatar
1 vote
1 answer
11k views

how to fix the npm install fails with 'An unknown git error occurred' in one folder but works in a another folder

My Server runs on Centos 8 and I installed nodejs latest (v14.17.5) and NPM (v7.21.0), both dont have a .git folder in there. I have a very very strange issue, If I goto folder example1.com, and run ...
mahen3d's user avatar
  • 4,252
1 vote
0 answers
119 views

mirror/backup of github repository with metadata

(How) would it be possible to make a full backup/mirror of a github repository, including all branches and tags (with full history) all (open) pull requests all premissions/access restrictions ...
hardmooth's user avatar
  • 111
1 vote
0 answers
57 views

Integrating GitHub Org with SAML shibboleth & post actions

I am at the beginner level of GitHub cloud administration and looking for answers to the below-listed questions after I enable SAML integration (Shibboleth) for my Github cloud Organisation. Before ...
rgh's user avatar
  • 11
0 votes
1 answer
31 views

What is a good way to keep multiple directories' contents synced with releases from a GitHub repo?

I work for a company that maintains lots of custom WordPress plugins and themes for our network of myriad WordPress sites. The repo managers have it set up so that webhooks are added to the repos and ...
user3183717's user avatar
0 votes
0 answers
871 views

Is there a way to programmatically push to GitHub using an oauth token?

I want to use a bash script to push to a "build repository" for my Symfony app, which can then be deployed directly to a server. I have the following so far: #!/bin/bash cd .. rm -rf ...
Mayor of the Plattenbaus's user avatar
1 vote
0 answers
83 views

Using the "draft" feature of a GitHub PR to stop AWS CodeBuild from building on a PR change

I've set up a CD pipeline from Github to ECS for a non-profit I'm working for. The AWS CodeBuild starts every time a PR is opened, changed, or merged. Sometimes, however, PRs are opened but marked as ...
larsankile's user avatar
0 votes
2 answers
751 views

Do I need to have my private ssh key stored on my server in order to git clone repos while ssh'd into the server?

I generated my ssh key on my local machine. I then used the following command to copy my public key onto my server: ssh-copy-id username@remote_host. That went smoothly. I have confirmed that my ...
Karoh's user avatar
  • 145
1 vote
0 answers
805 views

invalid JSON to monitor SMART on Zabbix

I've followed these steps on github: https://github.com/v-zhuravlev/zbx-smartctl to monitor the SMART disks in my Winsows servers on Zabbix. BUt when I add the template to the host I'd configured, on ...
Camila's user avatar
  • 11
0 votes
1 answer
2k views

Self-Hosted Github runner, how do privileged commands work?

What I'm trying to achieve: A fully automated deployment for a React App, on any commit to the live branch, by my own defined Github Runner, which is running Ubuntu Server 20.04, with npm 6.14.8 What ...
Ben's user avatar
  • 1
1 vote
3 answers
763 views

Jenkins Github Branch Source Plugin Failing with Github Token after today's Github auth changes

I am currently facing an issue with Jenkins <> Github integration due to today's Github auth changes deprecating user/pass auth and the current Github branch source plugin. Deprecation info: ...
Rino Bino's user avatar
  • 377
0 votes
1 answer
433 views

Ansible: clone repo or install helm chart from private github

Any idea how to install Helm chart (tgz) from private Github repo using Ansible? Is it possible at all to do this using Github token only and not ssh key or maybe it is easier to clone private git ...
DisplayName's user avatar
0 votes
0 answers
2k views

Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused

I am trying to deploy an open-source document management system via docker image, so i followed all instructions laid out on google's "Deploying a containerized web application" tutorial. ...
Agent 96's user avatar
10 votes
1 answer
18k views

kex_exchange_identification: Connection closed by remote host ... How do I resolve this error

emil@DESKTOP-1I1B1NM:~$ git clone git@github.com:EmilYoung2004/git_test.git Cloning into 'git_test'... kex_exchange_identification: Connection closed by remote host fatal: Could not read from remote ...
emil young's user avatar
0 votes
1 answer
91 views

Automating SSH authentication to GitHub - what should ~/.ssh/config file look like?

I'm trying to automate logins to GitHub using a private key, so that I can do "git pull/add/commit/push" from a BASH script. If I put this in ~/.ssh/config, it works: Hostname github.com User git ...
John Heyer's user avatar