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(ci): docs not being deployed automatically when releasing a new template version #105

Conversation

asdolo
Copy link
Collaborator

@asdolo asdolo commented Dec 6, 2024

What does this do?

This PR fixes a bug in the new-template-version.yml workflow that prevented deploy-docs.yml workflow not to trigger automatically. It also replaces the old classic GH_TOKEN token with a modern fine-grained token (NEW_TEMPLATE_VERSION_PAT).

The problem was that the old token didn't have enough permissions to trigger another workflow.

Why did you do this?

To fix this bug, which was introduced in this PR.

Who/what does this impact?

It affects the documentation deployment process. It also impacts people reading the documentation, who will now be reading the version corresponding to the latest version of the template.

How did you test this?

I pushed this changes in a private fork and ensured both workflows ran as expected.

@asdolo asdolo self-assigned this Dec 6, 2024
@asdolo asdolo marked this pull request as ready for review December 6, 2024 16:03
@asdolo asdolo requested a review from a team as a code owner December 6, 2024 16:03
Copy link

github-actions bot commented Dec 6, 2024

💯 Test Coverage

Lines Statements Branches Functions
Coverage: 51%
50.79% (257/506) 46.15% (102/221) 36.12% (69/191)

😎 Tests Results

Tests Skipped Failures Errors Time
68 0 💤 0 ❌ 0 🔥 28.202s ⏱️
👀 Tests Details • (51%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files50.7946.1536.1251.76 
report-only-changed-files is enabled. No files were changed in this commit :)

@asdolo asdolo merged commit b1ed450 into master Dec 6, 2024
8 checks passed
@asdolo asdolo deleted the fix/ci_docs_not_being_deployed_when_releasing_a_new_template_version branch December 6, 2024 20:22
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.

3 participants