You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request has been added as a resource to the following assets:
26
-
Name | Resource set successfully
27
-
--- | ---
28
-
${tableMd}
29
-
${setResourceFailed ? '> Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
30
-
`
25
+
This pull request has been added as a resource to the following assets:
26
+
27
+
${setResourceFailed ? '> ⚠️ Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
Copy file name to clipboardExpand all lines: adapters/templates/gitlab-integration.js
+3-1
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,12 @@ export function getSetResourceOnAssetComment(tableMd, setResourceFailed) {
23
23
return`## 🎊 Congrats on the merge!
24
24
25
25
This pull request has been added as a resource to the following assets:
26
+
27
+
${setResourceFailed ? '> ⚠️ Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
28
+
26
29
Name | Resource set successfully
27
30
--- | ---
28
31
${tableMd}
29
-
${setResourceFailed ? '> Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
Copy file name to clipboardExpand all lines: dist/index.js
+11-7
Original file line number
Diff line number
Diff line change
@@ -25437,12 +25437,14 @@ Set your repository action secrets [here](https://github.com/${context.payload.r
25437
25437
function getSetResourceOnAssetComment(tableMd, setResourceFailed) {
25438
25438
return `## 🎊 Congrats on the merge!
25439
25439
25440
-
This pull request has been added as a resource to the following assets:
25441
-
Name | Resource set successfully
25442
-
--- | ---
25443
-
${tableMd}
25444
-
${setResourceFailed ? '> Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
25445
-
`
25440
+
This pull request has been added as a resource to the following assets:
25441
+
25442
+
${setResourceFailed ? '> ⚠️ Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
25443
+
25444
+
Name | Resource set successfully
25445
+
--- | ---
25446
+
${tableMd}
25447
+
`
25446
25448
}
25447
25449
25448
25450
function getAssetInfo(ATLAN_INSTANCE_URL, asset, materialisedAsset, environmentName, projectName) {
@@ -33967,10 +33969,12 @@ function gitlab_integration_getSetResourceOnAssetComment(tableMd, setResourceFai
33967
33969
return `## 🎊 Congrats on the merge!
33968
33970
33969
33971
This pull request has been added as a resource to the following assets:
33972
+
33973
+
${setResourceFailed ? '> ⚠️ Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
33974
+
33970
33975
Name | Resource set successfully
33971
33976
--- | ---
33972
33977
${tableMd}
33973
-
${setResourceFailed ? '> Seems like we were unable to set the resources for some of the assets due to insufficient permissions. To ensure that the pull request is linked as a resource, you will need to assign the right persona with requisite permissions to the API token.' : ''}
0 commit comments