Skip to content

Commit d9a7341

Browse files
committed
rebuild actions
1 parent 3af88f9 commit d9a7341

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • .github/actions/javascript

.github/actions/javascript/createOrUpdateStagingDeploy/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11602,8 +11602,8 @@ async function run() {
1160211602
}
1160311603
catch (error) {
1160411604
// Check if this is a forked repository
11605-
if (process.env.GITHUB_REPOSITORY !== 'Expensify/App') {
11606-
console.warn("⚠️ Unable to fetch Mobile-Expensify PRs because this workflow is running on a forked repository and secrets aren't accessable. This is expected for development/testing on forks.");
11605+
if (process.env.GITHUB_REPOSITORY !== CONST_1.default.APP_REPO) {
11606+
console.warn("⚠️ Unable to fetch Mobile-Expensify PRs because this workflow is running on a forked repository and secrets aren't accessble. This is expected for development/testing on forks.");
1160711607
}
1160811608
else {
1160911609
console.error('Failed to fetch Mobile-Expensify PRs from main repository:', error);

.github/actions/javascript/getDeployPullRequestList/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11630,7 +11630,7 @@ async function run() {
1163011630
}
1163111631
catch (error) {
1163211632
// Check if this is a forked repository
11633-
if (process.env.GITHUB_REPOSITORY !== 'Expensify/App') {
11633+
if (process.env.GITHUB_REPOSITORY !== CONST_1.default.APP_REPO) {
1163411634
console.warn("⚠️ Unable to fetch Mobile-Expensify PRs because this workflow is running on a forked repository and secrets aren't accessible. This is expected for development/testing on forks.");
1163511635
}
1163611636
else {

.github/actions/javascript/markPullRequestsAsDeployed/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12814,7 +12814,7 @@ async function commentStagingDeployPRs(prList, repoName, recentTags, getDeployMe
1281412814
if (error.status === 404) {
1281512815
console.log(`Unable to comment on ${repoName} PR #${prNumber}. GitHub responded with 404.`);
1281612816
}
12817-
else if (repoName === CONST_1.default.MOBILE_EXPENSIFY_REPO && process.env.GITHUB_REPOSITORY !== 'Expensify/App') {
12817+
else if (repoName === CONST_1.default.MOBILE_EXPENSIFY_REPO && process.env.GITHUB_REPOSITORY !== CONST_1.default.APP_REPO) {
1281812818
console.warn(`Unable to comment on ${repoName} PR #${prNumber} from forked repository. This is expected.`);
1281912819
}
1282012820
else {
@@ -12896,7 +12896,7 @@ async function run() {
1289612896
mobileExpensifyRecentTags = response.data;
1289712897
}
1289812898
catch (error) {
12899-
if (process.env.GITHUB_REPOSITORY !== 'Expensify/App') {
12899+
if (process.env.GITHUB_REPOSITORY !== CONST_1.default.APP_REPO) {
1290012900
console.warn('Unable to fetch Mobile-Expensify tags from forked repository. This is expected.');
1290112901
}
1290212902
else {

0 commit comments

Comments
 (0)