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: GH Actions #98

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lindsaymoralesb
Copy link
Contributor

Description

The master branch of the repo is protected, this is preventing the GitHub action to commit directly to this branch when creating a new beta version. To avoid this the workflow was updated to use a PAT that gives it the necessary access.
Also:
a. The workflows were just left with node version 20 to avoid duplicated runs.
b. The trigger action was updated to "on merged PR to master" instead of "on push to master" to avoid a cycle.

Issue

This is related to #91

Important Steps

Please add a new PAT to the repo secrets. For this follow the steps below:

  1. Go to developer settings.
  2. Go to Personal Access Tokens.
  3. Add a descriptive name, expiration and select the scopes, or permissions, you’d like to grant this token. For this scenario just choose public_repo.
  4. Generate the token and copy it.
  5. Now go to the repo settings.
  6. Under secrets add a new secret with the name REPO_TOKEN and paste the personal access token generated before.

@lindsaymoralesb
Copy link
Contributor Author

hey @clexmond just wanted to remember you to check this PR for the workflows to work correctly!

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