Skip to main content

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
0 answers
23 views

How to have individual folders act as Repositories under a main Repository?

Is it possible to have a main Git Repository and each of the folders under said main repository be considered individual Repositories? I have several hundred folders under a main Repository and I don'...
Swampcritter's user avatar
0 votes
0 answers
472 views

Getting IDENTITY_PROVIDER_LOGIN_ERROR with keycloak, OAuth authentication with Github, "federatedIdentityModel" is null

I am running KeyCloak as one of the services in a K3s cluster to provide identity management for another service on the cluster, both of which is behind Ngnix. After deleting Github(the initial ...
Lois's user avatar
  • 1
0 votes
0 answers
48 views

Mirror from GitHub to git.kernel.org (e.g. not to GitLab instance)

I would like to mirror my repository on GitHub to git.kernel.org (normal gitolite based git hosting on linux server, not GitLab instance). Therefore I cannot use GitLab feature repository mirroring. I ...
pevik's user avatar
  • 300
1 vote
1 answer
206 views

Remote Linux server GitHub permission denied publickey issues

I am experiencing publickey permission issues when trying to pull a private repo from GitHub to a remote Linux server. Update Ran ssh -v -o IdentitiesOnly=yes -i ~/.ssh/id_rsa [email protected] command ...
Mike Hermary's user avatar
1 vote
0 answers
235 views

Set GitHub secret keys in bulk – sh file

I’m in the initial stages of building a simple automated deploy pipeline. One of the steps I’d like to implement would be setting the GitHub Actions secrets in bulk, since I have many of them in my ...
Jorge Mauricio's user avatar
0 votes
0 answers
165 views

How to use github workflow from a different repository?

This is my workflow file, present in the same repository as the source code. I have my workflow file in same repository where the code is there, Instead I want to keep it in separate repository and ...
uday kiran's user avatar
0 votes
1 answer
512 views

Intermittent connection reset errors on multiple sites using chrome, mingw curl and nodejs on Windows, but not in PowerShell or Linux VM

This started happening a month or two ago. I have a node script which fetches from: https://raw.githubusercontent.com/glowbuzzer/gbr/master/package.json This has started failing about one in three ...
jugglingcats's user avatar
-1 votes
1 answer
621 views

Backup of organization's GitHub repository

Is there any guides/best practices/manuals describing how to organize periodical backup (and of course restore if needed) of entire organization's GitHub, preferably with metadata?
Someone Sometime's user avatar
0 votes
1 answer
144 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
57 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
3k 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
  • 562
0 votes
1 answer
50 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
132 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
1 answer
1k 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
691 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 ...
user avatar
6 votes
3 answers
26k 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
2k 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
1 vote
1 answer
2k 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
  • 191
0 votes
1 answer
5k 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
165 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,076
0 votes
1 answer
44 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
1 answer
92 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
2k 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
744 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
4k 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
334 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
3 votes
1 answer
6k 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
  • 531
0 votes
0 answers
231 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
  • 531
2 votes
0 answers
1k 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
  • 531
1 vote
1 answer
1k 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
  • 531
3 votes
2 answers
1k 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
  • 531
2 votes
1 answer
4k 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
181 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
650 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
244 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
146 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
412 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
2 votes
1 answer
16k 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,522
2 votes
0 answers
195 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
  • 121
1 vote
0 answers
77 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
35 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
1 vote
0 answers
1k 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
2 votes
0 answers
110 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
1 vote
2 answers
897 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
  • 155
1 vote
0 answers
1k 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
3k 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
1k 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
  • 603
0 votes
1 answer
537 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
10 votes
1 answer
31k views

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

emil@DESKTOP-1I1B1NM:~$ git clone [email protected]: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
112 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