bitbucket-gemini-action 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -1
- package/dist/entrypoints/prepare.js +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8022,9 +8022,10 @@ async function prepare() {
|
|
|
8022
8022
|
};
|
|
8023
8023
|
}
|
|
8024
8024
|
console.log(`✅ Trigger validated: ${triggerResult.reason}`);
|
|
8025
|
+
const allowBots = getEnvBool("ALLOW_BOTS", false);
|
|
8025
8026
|
const actorResult = await validateActor(client, context.workspace, context.repoSlug, context.actor, {
|
|
8026
8027
|
requireWritePermission: true,
|
|
8027
|
-
allowBots
|
|
8028
|
+
allowBots
|
|
8028
8029
|
});
|
|
8029
8030
|
if (!actorResult.valid) {
|
|
8030
8031
|
console.log(`⏭️ Skipping: ${actorResult.reason}`);
|
|
@@ -8021,9 +8021,10 @@ async function prepare() {
|
|
|
8021
8021
|
};
|
|
8022
8022
|
}
|
|
8023
8023
|
console.log(`✅ Trigger validated: ${triggerResult.reason}`);
|
|
8024
|
+
const allowBots = getEnvBool("ALLOW_BOTS", false);
|
|
8024
8025
|
const actorResult = await validateActor(client, context.workspace, context.repoSlug, context.actor, {
|
|
8025
8026
|
requireWritePermission: true,
|
|
8026
|
-
allowBots
|
|
8027
|
+
allowBots
|
|
8027
8028
|
});
|
|
8028
8029
|
if (!actorResult.valid) {
|
|
8029
8030
|
console.log(`⏭️ Skipping: ${actorResult.reason}`);
|