Skip to content

Staging Reset Bot - AAI-619 - #506

Merged
ct3685 merged 5 commits into
productionfrom
staging
Aug 22, 2025
Merged

Staging Reset Bot - AAI-619#506
ct3685 merged 5 commits into
productionfrom
staging

Conversation

@ct3685

@ct3685 ct3685 commented Aug 22, 2025

Copy link
Copy Markdown

Staging Reset Bot

ct3685 and others added 4 commits August 21, 2025 16:02
hotfix: Google OAuth Button Not Appearing
## Summary
This commit modifies the path for the cache file in the
`readConfigFileWithFallback` function to utilize `dirname` instead of
`process.cwd()`, ensuring that the cache file is correctly located
relative to the current module's directory.

## Changes
- Updated the cache file path from `path.join(process.cwd(),
'.bwsconfig.cache')` to `path.join(dirname, '.bwsconfig.cache')`.

This change improves the reliability of the cache file's location,
particularly in environments where the working directory may differ from
the module's directory.
## Summary
This commit updates the GitHub Actions workflow for the smart staging reset process by adding a step to generate a GitHub App token and verify its availability. This enhancement ensures that the workflow can securely authenticate with the necessary permissions for staging operations.

## Changes
- Added a step to generate a GitHub App token using `tibdex/github-app-token@v1`.
- Updated the checkout step to use the generated token instead of the default GitHub token.
- Included a verification step to ensure the token is generated successfully before proceeding with the workflow.

This change improves the security and reliability of the staging reset process in the CI/CD pipeline.
@vercel

vercel Bot commented Aug 22, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
answerai-docs Ready Ready Preview Aug 22, 2025 0:05am
the-answerai Ready Ready Preview Aug 22, 2025 0:05am

@ct3685
ct3685 merged commit c52ebfd into production Aug 22, 2025
5 of 8 checks passed
@maxtechera
maxtechera temporarily deployed to staging - theanswer-iek0 August 22, 2025 00:06 — with Render Inactive
@sonarqubecloud

Copy link
Copy Markdown

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@ct3685 ct3685 changed the title Staging Reset Bot Staging Reset Bot - AAI-619 Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants