-
Notifications
You must be signed in to change notification settings - Fork 16
ci(workflows): use environment variables in scripts to prevent command injection #3564
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,7 @@ jobs: | |
- run: npm ci | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "Lime Technologies OSS" | ||
- run: npm run docs:publish -- --remove=PR-${{ github.event.pull_request.number }} | ||
- name: Remove PR docs | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
run: npm run docs:publish -- --remove="PR-$PR_NUMBER" |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This workflow is not in active use. It can be run manually, but would need some updating to be more user friendly. Successful test run here: https://github.com/Lundalogik/lime-elements/actions/runs/15205209129/job/42766624340 |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This workflow has obviously been run for this PR 😄 |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This workflow has also been run for this PR. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This script is called by the above workflow, so it has been run for this PR. Result available here (until it's been cleaned up by |
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.
Successful run here: https://github.com/Lundalogik/lime-elements/actions/runs/15205375226/job/42767152936#step:9:1
Uploaded result here: https://cdn.lime-crm.com/packages/@limetech/lime-elements/38.13.2-dev.1/dist/lime-elements/lime-elements.esm.js