Skip to content

Commit 8b2b8d0

Browse files
committed
ci(git): Copy generic CI/CD files
1 parent d7dc44a commit 8b2b8d0

File tree

7 files changed

+52
-0
lines changed

7 files changed

+52
-0
lines changed

.github/workflows/compile.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
run: |
2020
test -n "${{ secrets.GITLAB_TOKEN }}" || exit 0
2121
cd /tmp/magento
22+
ls ${GITHUB_WORKSPACE}
23+
test -f ${GITHUB_WORKSPACE}/.github/workflows/composer-additional.sh && source ${GITHUB_WORKSPACE}/.github/workflows/composer-additional.sh
24+
test -f ${GITHUB_WORKSPACE}/.github/workflows/composer-${{ matrix.magento_version }}.sh && source ${GITHUB_WORKSPACE}/.github/workflows/composer-${{ matrix.magento_version }}.sh
2225
composer config gitlab-domains gitlab.yireo.com
2326
composer config --global --auth http-basic.gitlab.yireo.com yireo "${{ secrets.GITLAB_TOKEN }}"
2427
composer config repositories.loki-third-party composer https://gitlab.yireo.com/api/v4/group/loki-third-party/-/packages/composer/packages.json
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
cp composer.json composer-old.json
3+
curl https://raw.githubusercontent.com/LokiCheckout/magento-2.4.5-patches/refs/heads/main/modules/patches.json -o loki-checkout-patches.json
4+
jq -s add composer-old.json loki-checkout-patches.json > composer.json
5+

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
run: |
4141
test -n "${{ secrets.GITLAB_TOKEN }}" || exit 0
4242
cd /tmp/magento
43+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh
44+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh
4345
composer config --auth gitlab-token.gitlab.yireo.com ${{ secrets.GITLAB_TOKEN }}
4446
composer config repositories.loki-checkout composer https://gitlab.yireo.com/api/v4/group/loki-checkout/-/packages/composer/packages.json
4547

.github/workflows/static-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
run: |
3434
test -n "${{ secrets.GITLAB_TOKEN }}" || exit 0
3535
cd /tmp/magento
36+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh
37+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh
3638
composer config gitlab-domains gitlab.yireo.com
3739
composer config --auth gitlab-token.gitlab.yireo.com ${{ secrets.GITLAB_TOKEN }}
3840
composer config repositories.loki-checkout composer https://gitlab.yireo.com/api/v4/group/loki-checkout/-/packages/composer/packages.json

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
run: |
1717
test -n "${{ secrets.GITLAB_TOKEN }}" || exit 0
1818
cd /tmp/magento
19+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-additional.sh
20+
test -f $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh && source $GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh
1921
composer config --auth gitlab-token.gitlab.yireo.com ${{ secrets.GITLAB_TOKEN }}
2022
composer config repositories.loki-checkout composer https://gitlab.yireo.com/api/v4/group/loki-checkout/-/packages/composer/packages.json
2123

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

SECURITY.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you believe you've found a security vulnerability in this project, we encourage you to let us know.
6+
7+
Please report it by emailing us at [security@yireo.com](mailto:security@yireo.com).
8+
We take security seriously and will respond as quickly as possible.
9+
10+
## Bug Bounty Program
11+
12+
Please note that we do not have a paid bug bounty program at this time. However, we appreciate your efforts in helping us keep our project secure.
13+
14+
## Guidelines for Reporting
15+
16+
When reporting a vulnerability, please include the following information:
17+
- A clear description of the vulnerability.
18+
- Steps to reproduce the issue.
19+
- Any relevant screenshots or logs.
20+
- Your contact information (optional) for follow-up questions.
21+
22+
## Response Timeline
23+
24+
We aim to acknowledge your report within 10 business days. Please note that complexity may affect the time it takes to fix the issue, and there is no fixed deadline for resolutions.
25+
26+
## Disclosure Policy
27+
28+
We will determine public disclosure timelines on a case-by-case basis once an issue has been resolved. Our goal is to balance transparency with user safety.
29+
30+
## Our Commitment
31+
32+
We commit to:
33+
- Acknowledging your report promptly.
34+
- Investigating all reported vulnerabilities thoroughly.
35+
- Keeping you updated on our progress towards fixing the issue.
36+
37+
Thank you for helping us maintain the security of our project!

0 commit comments

Comments
 (0)