Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [github]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Enable Forecasting on scratch via CLI with Most Likely value

here's the situation... We configured CI/CD with workflow in Github. In the short description it: creates the sandbox, deploys the whole code from the branch to it, and runs all apex tests. Now we ...
pawelw's user avatar
  • 11
1 vote
0 answers
15 views

DeferSharingCalc in scratch-org-def not working

I have an issue. I enabled DeferSharingCalc in scratch org def Then I performed: assigned proper PS to the user, and then ran Deploy permission set Assign permission set Push source to scratch org ...
pawelw's user avatar
  • 11
0 votes
0 answers
29 views

What metadata (if any) should be excluded from a CI/CD pipeline? [duplicate]

I want to set up a CI/CD pipeline for my org to make it easier for me to develop and deploy changes to APEX and other code-based customizations in my org. I'm following this link from SalesforceBen....
justin.k.pierson's user avatar
0 votes
0 answers
30 views

The value of the $.routeType property isn't supported for this site when installing an unlocked package to a sandbox

When we are installing an unlocked package using sfdx:force:package:install to a Salesforce sandbox, we are getting the following error: Encountered errors installing the package! Installation errors: ...
ThreeThirteenTwentyFour's user avatar
0 votes
1 answer
38 views

How to git init a remote branch instead of master [closed]

I was asked to copy my team's remote branch, called v8.1, to my local. I am to do a bug fix against this branch. In Github, I went to Code, switched to v8.1 and copied the SSH command, running it in ...
Ryan McNeely's user avatar
1 vote
1 answer
570 views

Connecting to Github Organization Account

Great news! Salesforce DevOps Center is Generally Available. I am struggling to connect it to a repository owned by Organization. DevOps Center guide says the following: GitHub repos owned by an ...
Vladimir Egikyan's user avatar
0 votes
1 answer
100 views

Best practices for managing Github during Salesforce Releases?

My team is working on a project that will likely take over 6 months. We are making edits to Site pages, classes, fields, flows, etc. Part of this process involves staging changes in a partial sandbox ...
user avatar
1 vote
1 answer
211 views

Passing artifact name for Vlocity deployment validations

This is for Vlocity deployment using Github Actions. Scenario: In the code repo I have made a minor change in my Omniscript and I want to validate this change before I deploy. Following is the yml ...
SanJay's user avatar
  • 11
0 votes
1 answer
657 views

Deploying Salesforce Profile via Git

Has anyone successfully deployed Profiles using Git? If yes, what are the steps to do that? I tried to find documentation, but have not been able to find anything that I can use.
Imtiyaz's user avatar
  • 25
1 vote
1 answer
107 views

How do you organize your org metadata? - unmanaged packages, custom folder structure in SFDX....?

I've been considering ways to organize my company's SF metadata, with the goal of grouping together metadata that are specific to particular processes, while leaving out shared metadata. SF has made ...
smohyee's user avatar
  • 3,846
0 votes
1 answer
120 views

Is pushing all changes on one branch on Git a great idea?

We didn't use much Git during development and we created multiple functionalities. Is pushing all changes on one branch a great idea or should we create one branch for every feature? Advantages: we ...
NonameJavaNoob's user avatar
0 votes
0 answers
236 views

Deployment getting failed due to Time based workflow

I m getting below issue when deploying the workflow rules from the git to sandbox and also removed the all pending actions from the sandbox then re tried it again but no luck, same issue occuring even ...
BRAHMA REDDY's user avatar
0 votes
2 answers
1k views

invalid fullname, must end in a custom suffix ( for ex. __c )

I m getting error invalid fullname, must end in a custom suffix ( for ex. __c ) when deploying changes via Github (2 custom fields on , one on lead another on the Opportunity )to another sandbox. Also ...
BRAHMA REDDY's user avatar
0 votes
1 answer
808 views

force:package:version:promote in CI script not finding package Alias: Subscriber Package Version Id not defined in sfdx-project.json

I am in the process of creating a CI script that uses GitHub actions for the creation and promotion of new package versions. For this I have created a shell script that is run after test classes have ...
dschib's user avatar
  • 118
3 votes
1 answer
2k views

SFDX: how can I use a GitHub action script to deploy ONLY what was changed instead of ALL the metadata?

I've set up GitHub actions in my Salesforce repository on GitHub. They're working fine, except they deploy all the metadata on the repository instead of only what was changed. I'm guessing I can ...
kevdecent's user avatar
  • 183
7 votes
1 answer
505 views

Github Workflow for Package Development

To better maintain my OSS repositories I am looking for a simple but elegant Github workflow that covers all steps of a DX development process that ends with a package version (unlocked/managed): ...
Robert Sösemann's user avatar
3 votes
3 answers
1k views

Should the .sfdx or any of its sub-folder and/or files be added to the .gitignore?

I'm not sure if the .sfdx folder needs to be tracked by the version control and be pushed to the repo? Can someone please give me some more insight into this folder and its content or even a reference ...
Bahman.A's user avatar
  • 858
0 votes
1 answer
378 views

Is it possible to link a namespace frome a developer org to a developer hub

We currently have an unlocked package with a namespace linked to a developer edition hub since at the time we where not aware of the limitations. Since we have the limitation to only do 5 package ...
Thomas's user avatar
  • 2,298
1 vote
0 answers
284 views

Heroku: not building with latest version of code

I'm evaluating Heroku for hosting my Node.js api server, and I'm running into an unexpected issue. The code in the actual pushed branch isn't executed. Whether I'm pulling code from github, or using ...
LearnDude's user avatar
2 votes
2 answers
525 views

Connecting Github actions to my salesforce

i am starting to learn CI/CD and i want to create Github actions for my salesforce project. for when I need the SFDX URL, the format is this ( after executing force:force:org:display -u ORG-ALIAS --...
Oussama Boumhaout's user avatar
1 vote
1 answer
103 views

How to get Codecov to consume Apex coverage data without getting stuck "Processing..."?

I've followed this Salesforce blog Drive your Testing Strategy with Code Coverage to get LWC and Apex code coverage numbers reported in Codecov via GitHub actions. The LWC part works well, but it ...
Keith C's user avatar
  • 136k
1 vote
1 answer
4k views

SFDX-Git-Delta plugin not finding differences between branches in github action

I have my yml file for my github action set up like this: name: Test Deploy Delta on: push: workflow_dispatch: jobs: build: runs-on: windows-latest steps: - name: Check out repository code ...
Tyler Dahle's user avatar
  • 2,709
2 votes
0 answers
75 views

Custom Git hunk header for Apex (on GitHub)?

In every Git diff there's this thing called a hunk header at the beginning of the diff section that looks like this: @@ -23,12 +23,10 @@ public with sharing class MyClass { This is nice but not very ...
Semmel's user avatar
  • 2,497
0 votes
0 answers
541 views

Unexpected file found in package directory:

I am trying to deploy some components from github branch to dev sandbox with VS Code I am on the branch, where I have a code, and connected to the sandbox. I tried: sfdx force:source:deploy -c -p ...
Igor's user avatar
  • 1
2 votes
2 answers
11k views

ERROR running force:source:deploy: This command is required to run from within an SFDX project

I am trying to use GitHub actions to deploy code to my developer org. While running the workflow i am getting error like. I am unable to figure where it is wrong Below is the structure in github. ...
learnjqueery's user avatar
0 votes
1 answer
30 views

Cloning .json files on python app

I have an issue of Heroku only cloning .py files but skipping .lock and .json ones. The files are necessary for my python script. Is there any reason why deploying from GitHub would cause it? Update, ...
peter123's user avatar
0 votes
1 answer
81 views

Github Autolink reference to Agile Accelerator work [closed]

I would like to add a an autolink reference rule to my Github repository, in order to generate direct links to Agile Accelerator works automatically. Is there any way or practical workaround, to have ...
Hassan ALAMI's user avatar
1 vote
0 answers
33 views

Best Pretter Formatting Structure for Unlocked Package structure

I am moving towards an unlocked package structure on the Org I work on. The instance was inherited and did not have any version control so seems like 2 birds with one stone. I've always used Prettier (...
Bobbygllh's user avatar
  • 731
1 vote
2 answers
531 views

Partner Developer Org best practices - how to mirror namespace among PDOs

At this point, my team and I have read through multiple trailheads, docs and posts on the following. We have a lot of good ideas, but still a key issue remains. First, please verify this is the best ...
Ryan McNeely's user avatar
0 votes
1 answer
151 views

How to upload to gitlab repo? [closed]

Ok, so i have been trying to get this working and its driving me nuts. All want to do is take my project in vscode and upload it to a branch in gitlab. Here is a list of things i have done : Set ...
LoveBomber777's user avatar
2 votes
4 answers
3k views

Does SFDX force:mdapi:deploy respect .forceignore file?

I'm trying to work in a github repository project that is not in Source format and is using Metadata API format structure. The repository has stored all component code into an src folder including ...
VarunC's user avatar
  • 5,950
3 votes
0 answers
134 views

How do I use an open source GitHub repo in an unlocked package?

I have recently started exploring unlocked packages. I want to use features from https://github.com/apex-enterprise-patterns/fflib-apex-common in my packages. I could clone the repo and convert it ...
sfdalex's user avatar
  • 31
0 votes
1 answer
35 views

Setting up Project For Salesforce DX

I am completing Quick start Salesforce DX project- "setting up on local machine" Step while doing this when i copied the command to clone the github repository I recieve this error (SEE IMAGE). ...
zsk_1's user avatar
  • 47
2 votes
1 answer
2k views

Working with GIT and org code in VS code for a single sandbox

We have our existing code repository in GitHub. This code is in folder structure resembling eclipse IDE forlder structure(or probably they call it metadata structure), like src --> classes --> myclass....
Sarang's user avatar
  • 2,586
0 votes
0 answers
1k views

VSCode: Does anyone else have an issue with the Source Control tab not showing changes made to Apex classes / triggers?

I'm new to Visual Studio Code, and have followed directions I found on the web for setting up a project with manifest, and then authorizing a sandbox, as well as connecting to a GitHub remote repo. ...
Joshua__c's user avatar
3 votes
2 answers
736 views

Merge Branch || git diff not including .gitignore files

I have 2 branches in SFDX enabled project. mybranch and develop. I want to merge selected changes from develop and then merge those in mybranch. As a starting point I am trying to use git diff to see ...
Varun SFDC's user avatar
5 votes
1 answer
8k views

How do Salesforce Developers using Visual Studio Code use Github?

I have been a solo developer for quite a while and am now working with another individual. I am making the difficult switch from Mavens Mate with Eclipse to Visual Studio Code. I am not sure what the ...
Matthew Metros's user avatar
1 vote
1 answer
9k views

Git unable to update URL base [closed]

Trying to start learning DX. I have the project set up and downloaded a simple package from a demo org. But I get an error when I try to commit to Github. /Desktop/GloboHealth/globohealthDX$ git ...
Brooks Johnson's user avatar
1 vote
0 answers
176 views

salesforce deployment from Git with Docker cloud

I need way to deploy code from Git to salesforce using Docker Cloud or Docker. I needed senior's suggestions and sources on deployment from Git to to salesforce especially with docker and i found way ...
SFDC_Igle's user avatar
  • 692
0 votes
0 answers
30 views

Github to salesforce deployment [duplicate]

I need to find a way to deploy code from GitHub to salesforce using Docker Cloud or Docker because my client requested it. I needed senior's suggestions on deployment from GitHub to to salesforce with ...
SFDC_Igle's user avatar
  • 692
3 votes
2 answers
224 views

One VCS repo per "artifact"?

My client's Salesforce codebase/metadata is fairly large and we're hoping to switch to SFDX. Figuring out which components go into which artifact is going to be a challenge - I expect we'll have a "...
Force Hero's user avatar
1 vote
3 answers
1k views

GitHub Conflict Resolution issue

I've been working for several days in SFDX on the "Proof-Org" branch from my git master-repo. Now I've done a pull request on the branch, but there's a file with 951 conflicts! The file is ...
PatMcClellan__c's user avatar
0 votes
1 answer
937 views

I am trying to login to sfdx sample DevHub using git bash, it's giving an error on loging in

I bypassed the proxy and used this code to log in sfdx force:auth:web:login -d -a DevHub it opens the browser page, I provide the credentials and everytime it gives this error and then in the bash ...
Archit's user avatar
  • 3
5 votes
1 answer
939 views

Salesforce with Git

We are a group of 5 developers and 5 project managers which using Salesforce. The developers are working with Sublime and MavensMate, and we want to start using a source control tool (Git) and I'm not ...
Barak Shoushan's user avatar
21 votes
2 answers
475 views

Friction-free process to switch to SalesforceDX with existing managed package

Dreamforce '17 made it crystal clear. Salesforce DX is ready for prime time. With Second-Generating Packaging SGP even for ISVs. Salesforce DX is awesome, nonetheless we fear that getting started ...
Robert Sösemann's user avatar
14 votes
3 answers
10k views

How to install managed package using Salesforce DX CLI?

I am trying to follow the Trailhead module on CI and Salesforce DX. I tried to push some of my Lightning components which depend on a managed package in App Exchange. I would like to know how to ...
ak_1's user avatar
  • 355
4 votes
0 answers
86 views

Populating git repository from production [closed]

We are starting to use Salesforce DX. What is the best way to populate the git repository from Flosum?
Kevin Bellati's user avatar
3 votes
1 answer
469 views

Development Life Cycle of using GIT in salesforce. [duplicate]

I need guidance regarding the Development Life Cycle of using GIT in salesforce. How to test the latest code that I fetch from the GIT to eclipse. ?? What i'm upto this, is that, after syncing the ...
Shoaib Khan's user avatar
0 votes
1 answer
533 views

Using Eclipse Kepler and installed EGit plugin, but not getting git option in Team

I am not getting git option in Open Perspective window. Not sure why. I am trying to get the git repository connected. I am new to git and want to learn how to do this. I have gone through the article ...
Nitish Singhal's user avatar
2 votes
2 answers
1k views

Push process builder to gitHub

I am trying to find a way to push a process builder flow to github.com. I know how we can push code to github but anyone has idea how can I push process builder flow?
Salesfor_dev's user avatar