-
Notifications
You must be signed in to change notification settings - Fork 93
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
Updatess #394
Updatess #394
Conversation
…ricing-list workflow Signed-off-by: Ankita Sahu <[email protected]>
Signed-off-by: Ankita Sahu <[email protected]>
Co-authored-by: Matthieu Evrin <[email protected]> Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Ankita Sahu <[email protected]>
Signed-off-by: Ankita Sahu <[email protected]>
Signed-off-by: GitHub <[email protected]>
✅ Deploy Preview for bejewelled-pegasus-b0ce81 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: Vivek Vishal <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is included in the commit for the sake of preview
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this file be persisted to the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this file, @SAHU-01
update-pricing-and-frontmatter: | ||
runs-on: ubuntu-latest | ||
env: | ||
PRICING_FILE: 'pricing-data.json' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename variable and file, @SAHU-01
PRICING_FILE: 'pricing-data.json' | ||
|
||
steps: | ||
- name: Trigger Pricing List workflow and wait for completion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "pricing"
steps: | ||
- name: Trigger Pricing List workflow and wait for completion | ||
id: trigger-workflow | ||
run: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use GitHub native call, not an API call, @SAHU-01
|
||
echo "Triggered workflow, waiting for completion..." | ||
|
||
while true; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What? No.
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add ${{ env.PRICING_FILE }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename
with: | ||
go-version: '1.21' | ||
|
||
- name: Run update_frontmatter.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a go program really necessary?
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add ${{ env.PRICING_FILE }} | ||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update front matter based on new pricing data" && git push) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not pricing
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add ${{ env.PRICING_FILE }} | ||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update front matter based on new pricing data" && git push) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use git commands. Use the same autocommitter that we use in many other workflows.
.matterinfo { | ||
font-weight: $font-weight-medium; | ||
background: $black; | ||
font-family: "Open Sans"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not Qanelas Soft, huh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this copied from Cloud?
Notes for Reviewers
This PR fixes #
Signed commits