Questions tagged [github]

The tag has no usage guidance.

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

GitHub Actions failing to deploy using Salesforce API Only System Integrations profile

I'm trying to setup a dedicated GitHub Integration User that uses the new Salesforce API Only System Integrations profile. However, when I do a deployment using GitHub Actions I receive the below ...
jonny-harte's user avatar
0 votes
1 answer
37 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
442 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
60 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
193 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
476 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
79 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,762
0 votes
1 answer
100 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
195 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
987 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
719 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
  • 153
7 votes
1 answer
475 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
  • 808
0 votes
1 answer
308 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,294
1 vote
0 answers
281 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
419 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
96 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
  • 135k
1 vote
1 answer
3k 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,629
2 votes
0 answers
71 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,272
0 votes
0 answers
498 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
27 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
75 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
30 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
  • 721
1 vote
2 answers
507 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
141 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,920
3 votes
0 answers
127 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
32 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,560
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
699 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
170 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
218 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
2 votes
4 answers
8k views

Visual Studio Code - Retrieve Org

I'm a new at a company that does not have their org backed up. I'm trying to get it into github. I'm working with VSC and I added the ForceCode extension but it fails to pull standard objects. Could ...
C006's user avatar
  • 31
0 votes
1 answer
908 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
937 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
9k 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
83 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
468 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
525 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
0 votes
1 answer
97 views

Saving code edits to Salesforce & GitHub Gists simultaneously

I currently use a slightly crude combination GitHub Gists + GitHub Desktop + Atom to save backups of my Apex code & to keep track of my revision history. Plus MavensMate with Atom to edit my code, ...
Alex S's user avatar
  • 2,296
4 votes
1 answer
1k views

How to link Salesforce Mavensmate project to Github as one branch per sandbox

I use mavensmate with sublime editor for salesforce project. I was told it is a good practise to have each sandbox links to a Github branch, but wasn't told how to. when I set up each sandbox in ...
Lee's user avatar
  • 145