GithubHelp home page GithubHelp logo

Activate the CI about components HOT 11 CLOSED

bottlesdevs avatar bottlesdevs commented on June 2, 2024
Activate the CI

from components.

Comments (11)

mirkobrombin avatar mirkobrombin commented on June 2, 2024 1

Just for confirmation, has the PAT been set? If so, the next run should be working just fine now 🤞

I’ll set this asap.

from components.

koplo199 avatar koplo199 commented on June 2, 2024 1

I've detailed the choice for this in bottlesdevs/Bottles#2223 (comment) but the tldr is that in a later date when/if auto-merge is enabled, it will be needed because the GitHub Bot cannot approve its own PR (no one can), so the PR needs to be created by another entity

from components.

mirkobrombin avatar mirkobrombin commented on June 2, 2024

the CI is active already, it's just failing https://github.com/bottlesdevs/components/actions/runs/3538533089

from components.

koplo199 avatar koplo199 commented on June 2, 2024

Oh it's failing because a ci branch has been created manually just before merging. The timing was so perfect I though it was an intentional (and creative) way of blocking the CI. Just deleting this branch will solve the issue.

The branch naming prefix ci is reserved for the CI, but if it needs to be changed for whatever reason it could be done by editing:

PR_BRANCH: ci/${{ github.ref_name }}
concurrency:
# Github Actions does not support ${{ env.PR_BRANCH }} as group name...
group: ci/${{ github.ref_name }}

from components.

mirkobrombin avatar mirkobrombin commented on June 2, 2024

Oh this makes sense 😂

from components.

koplo199 avatar koplo199 commented on June 2, 2024

Just for confirmation, has the PAT been set? If so, the next run should be working just fine now 🤞

from components.

koplo199 avatar koplo199 commented on June 2, 2024

Seem like it hasn't, step by step guide:

Yay merged 🎉

Is the PAT already set? If it is not configured pull requests won't be created, to configure it:

From any account (could very well be a newly created burner account like @bottlesdevs-components[BOT] or something) do
(Account) Settings -> Developer settings -> Personal access tokens -> Tokens (classic) -> Generate new token (classic) -> public_repo (No expiration)

Then copy paste it into
(Repository) Settings -> Secrets -> Actions -> New repository secret -> Name = PAT

Originally posted by @koplo199 in #182 (comment)

from components.

mirkobrombin avatar mirkobrombin commented on June 2, 2024

Just a question: why not using the default GitHub bot?

from components.

mirkobrombin avatar mirkobrombin commented on June 2, 2024

In retrospect it might make sense to approve them manually 🤔

from components.

koplo199 avatar koplo199 commented on June 2, 2024

In retrospect it might make sense to approve them manually 🤔

I agree, additionally if the idea of auto-approval is dropped then the PAT is no longer necessary, so

token: ${{secrets.PAT}}

could be replaced by ${{secrets.GITHUB_TOKEN}} and it will work right away

from components.

koplo199 avatar koplo199 commented on June 2, 2024

As the CI made its first PR #195, I guess this issue could be closed safely 👍

from components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.