Skip to content

Rollback-test#100

Closed
IvanildoBarauna wants to merge 17 commits intorollback/1.0.5from
main
Closed

Rollback-test#100
IvanildoBarauna wants to merge 17 commits intorollback/1.0.5from
main

Conversation

@IvanildoBarauna
Copy link
Member

No description provided.

IvanildoBarauna and others added 17 commits March 4, 2026 16:23
- Add id-token: write to permissions for OIDC authentication
- Move checkout to first step (was at step 10 of 11)
- Add --delete flag to rsync to keep VPS in sync
- Create and sync .env file with DD_API_KEY before deployment
- Recreate .env during remote deploy to ensure secrets are loaded

This fixes critical issues preventing the workflow from executing correctly
on GitHub Actions, aligning it with the proven patterns in packages-deploy.yml

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Use heredoc syntax for multi-line PR body instead of inline string
- Fixes GitHub Actions validation error on line 193

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Use variable assignment instead of inline command substitution
- Separate PR body creation from gh pr create command
- Fixes YAML parsing errors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Replace heredoc PR body with single-line string
- Heredoc with emoji was causing YAML parsing errors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-alignment

Fix: Align rollback workflow with best practices
The rollback PR step creates a branch from a release tag that contains
workflow files, which requires the workflows permission.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-alignment

Fix: Add workflows permission to rollback workflow
- workflows is not a valid job-level permission in GitHub Actions
- GITHUB_TOKEN cannot push branches containing workflow files
- Use GH_PAT secret (needs workflow scope) for the git push instead

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-permissions

Fix: Remove invalid workflows permission and use PAT for branch push
The actions/checkout configures git credentials internally via
http.extraheader, overriding any subsequent remote set-url.
Passing the PAT directly to the token parameter ensures all git
operations (including push) use the PAT with workflow scope.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-pat

Fix: Pass GH_PAT to checkout to allow pushing workflow files
GITHUB_TOKEN is not permitted to create PRs via GitHub Actions.
Using GH_PAT (with pull-requests write scope) fixes the error:
'GitHub Actions is not permitted to create or approve pull requests'

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ion-pat

Fix: Use GH_PAT for rollback PR creation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tion-log

feat: Add connection string log before engine build
…rrect tag commit

Without fetch-tags, the tag is not resolved locally and the rollback
branch ends up pointing to the same commit as main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix: Add fetch-tags to checkout for correct rollback branch creation
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