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

Change the commentingStage value to PROD #41

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

deedeeh
Copy link
Contributor

@deedeeh deedeeh commented Jan 22, 2025

What does this change?

This PR changes commentingStage value to PROD for actions-riff-raff@v4 in the action.yaml.

When anyone upgrades guardian/actions-static-site from v2 to v3 that also upgrades automatically to guardian/actions-riff-raff@v4 which by default has commentingStage as an input with a default value CODE but static-site doesn't have a CODE environment that's why we need to change this input to be PROD.

As you can see from the screenshot below it failed after 0s with CODE.

image

The Github actions comment that got the riff-raff Deploy build number automatically has CODE as environment which you can currently see in this PR https://github.com/guardian/deacronym/pull/15

image

@deedeeh deedeeh changed the title Change the commentingStage value to be PROD Change the commentingStage value to PROD Jan 22, 2025
@deedeeh deedeeh changed the title Change the commentingStage value to PROD Change the commentingStage value to PROD Jan 22, 2025
Copy link
Member

@akash1810 akash1810 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant, thanks!

@deedeeh deedeeh marked this pull request as ready for review January 22, 2025 09:34
@deedeeh deedeeh merged commit 882a6e0 into main Jan 22, 2025
5 checks passed
@emdash-ie emdash-ie deleted the change-commentingStage-to-prod branch January 27, 2025 10:06
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.

2 participants