Questions tagged [github-actions]
The github-actions tag has no usage guidance.
21
questions
2
votes
1
answer
83
views
EmailTemplateManagement permission issue with Salesforce Integration User used with SFDX CLI
I have created a Salesforce Integration user in production with the Minimum Access - API Only Integrations profile and Salesforce API Integration PSL.
I also created a custom permission set where I ...
0
votes
0
answers
188
views
Maven Build Fails with Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:4.2.0 Error in GitHub Actions
Encountering an issue while trying to build and deploy a Mule application to Anypoint Platform via GitHub Actions. The build fails with the following error:
[ERROR] Some problems were encountered ...
0
votes
0
answers
36
views
Unable to export test run result with GitHub Actions
My goal is to use GHA to export JSON with APEX Test Coverage and sent it to SonarQube for calculation.
I have set up one workflow, that initiates Test Run using SF CLI and now I am writing another ...
0
votes
0
answers
20
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 ...
0
votes
0
answers
81
views
Same sf cli command works locally but not in Github Action
I have this command in the Github Action workflow sf project deploy validate -x delta/package/package.xml -l RunSpecifiedTests -t randomClassTest
Scenario: I deploy a new Apex class.
I received this ...
0
votes
0
answers
59
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: ...
0
votes
0
answers
60
views
GitHub Actions: Delete obsolete salesforce lightning flow version using Shell script and YAML
Before validating and deploying the components, I am attempting to remove any outdated versions of a flow. I discovered a solution on the Salesforce Stack Exchange.
Remove all old flow versions using ...
2
votes
0
answers
145
views
Add SF CLI to GitHub Actions Cache
I'm trying to cache sf cli in GitHub Actions but I get sf: command not found when the cache is restored. Does anyone know which other paths I need to add to the cache?
- name: Cache
id: cache
uses:...
1
vote
0
answers
52
views
Second Generation Beta Package Creation is failing in Github Action
I'm trying to create a 2nd Gen package using Github Action (workflow dispatch Action). After I deployed and run the workflow it gave me an error while uploading the new package:
The error is on the &...
1
vote
1
answer
180
views
SFDX CLI Create package version fails in CI/CD
When I executed the same code
branchSwitch="-b test"
echo $(sfdx package version create -d force-app --post-install-script PostInstall -x -w 60 --skip-validation --json $branchSwitch) &...
1
vote
1
answer
230
views
Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11
We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
0
votes
0
answers
1k
views
Error when validating the deployment 'We couldn't retrieve the design time component information for component'
I am trying to validate Salesforce metadata deployment and getting the following error.
Github actions trigger the deployment validation when a PR is raised.
We couldn't retrieve the design time ...
1
vote
1
answer
66
views
error running robot script from Github Actions using connected app
I followed this article (JWT Flow Authorization) but I am getting the following error:
Error: Error retrieving access token:
{"error":"invalid_grant","error_description":&...
1
vote
1
answer
219
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 ...
0
votes
1
answer
205
views
SFDX auth failing when running thru github actions
I am trying to configure a simple yaml file for github actions. Below is the YAML contents and also the error which I am getting.
Note: The same auth command works fine if I am running in the terminal....
1
vote
1
answer
115
views
Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?
We are using github actions and cumulusci as part of our ci/cd pipeline. In each of our repositories (packages in SF context), we have a .github/workflows folder and inside it are our yaml files that ...
3
votes
1
answer
819
views
How can I determine the exit status of an sfdx command in a shell script? [closed]
I am running my sfdx deploy command in a shell script as part of a Github action. Currently, the script is reporting success even if the sfdx command fails. This means the build is succeeding even ...
0
votes
1
answer
843
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 ...
3
votes
1
answer
7k
views
JSON web token error when authorising a Github Action
I'm trying to create a Github action to authorise a Github action and then create a scratch org to run tests against, but I keep getting the below error when trying to authorise. How can I debug this?
...
1
vote
1
answer
614
views
Any way to fix this out of memory error installing @salesforce/sfdx-scanner?
We run our CI (Continuous Integration) build for our app using GitHub actions and part of that is to install and run the Salesforce CLI Scanner. We run on ubuntu-latest that is documented to have &...
1
vote
1
answer
106
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 ...