Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub Actions workflow to create PR in VS Code repo #282

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mrleemurray
Copy link
Contributor

@mrleemurray mrleemurray commented Feb 6, 2025

This pull request includes several updates to the GitHub Actions workflow in the .github/workflows/build.yml file to improve the deployment process and handle errors more gracefully. The most important changes include making file copy operations forceful, adding a check for changes before committing, and fixing the PR creation process.

Improvements to deployment process:

Error handling enhancements:

  • .github/workflows/build.yml: Added a check to determine if there are any changes before attempting to commit, and if not, exit the process with a message indicating no changes to commit.

Fixes to PR creation process:

  • .github/workflows/build.yml: Fixed the PR creation process by ensuring the correct token is used for authentication and enabling the gh pr create command.This pull request includes updates to the GitHub Actions workflow for building and pushing changes. The primary changes involve fixing authentication and permissions issues to enable automated git push and pull request creation.

Improvements to GitHub Actions workflow:

@mrleemurray mrleemurray requested a review from Copilot February 6, 2025 17:01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@mrleemurray mrleemurray changed the title Fix GitHub Actions workflow to use GITHUB_TOKEN for pushing and authe… Fix GitHub Actions workflow to create PR in VS Code repo Feb 6, 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.

1 participant