Skip to content

Conversation

@harishsundar-okta
Copy link
Contributor

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Automates version bump PRs after successful npm package publishing. The workflow now creates, approves, and merges PRs to update package.json versions automatically.

What Changed

  • Added automated PR creation after npm publish succeeds
  • GitHub Actions bot creates the PR
  • Service account (via SVC_PAT secret) approves and enables auto-merge
  • PR auto-merges when CI passes

Setup Required

Add Secret in Terminus:

  • Name: SVC_PAT
  • Value: GitHub Classic PAT with repo and workflow scopes

Enable in GitHub Settings:

  • Allow auto-merge (Settings → Pull Requests)
  • Allow GitHub Actions to create and approve PRs (Settings → Actions)

Add Service Account as Codeowner:
Create .github/CODEOWNERS with service account username

References

Include any links supporting this change such as a:

  • GitHub Issue/PR number addressed or fixed
  • Auth0 Community post
  • StackOverflow post
  • Support forum thread
  • Related pull requests/issues from other repos

If there are no references, simply delete this section.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@github-actions
Copy link

github-actions bot commented Dec 10, 2025

🚀 Preview deployment

Branch: refs/pull/19/merge
Commit: 4ff8cc0

📝 Preview URL: https://auth0-universal-components-9t1x3ysja-okta.vercel.app


Updated at 2025-12-10T13:07:47.976Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants