Comments (5)
just noting; adding a checkout step before laminas/laminas-ci-matrix-action resolves this issue. credentials are saved and laminas cn continue
- name: Checkout
uses: actions/checkout@v3
from laminas-ci-matrix-action.
I wonder if we could use actions/checkout
as child action 🤔
Doing the cloning ourselves is both inefficient (github is smarter about it), and unsafe (we may leak secrets during crashes).
@basz meanwhile, do you know which git
command it executed, precisely?
from laminas-ci-matrix-action.
My thought exactly. Just don't know how...
Looking at the output "Cloning repository" I'm guessing here and combined with GITHUB_REPOSITORY from that should be;
git clone https://github.com/plhw/lab-api-model-valueobject
.
Could it be double "
's? in that line or in the docker command? -e "$SOME_ENV"
vs -e SOME_ENV
from laminas-ci-matrix-action.
asked because it seems GITHUB_REPOSITORY is empty...
from laminas-ci-matrix-action.
I've also found it's necessary to set fetch-depth
to zero for the matrix to be generated on a pull request to a private project.
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@v1
qa:
name: QA Checks
needs: [ matrix ]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@v1
env:
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
with:
job: ${{ matrix.job }}
from laminas-ci-matrix-action.
Related Issues (20)
- Documentation: Add list of supported tools and how to ensure the checks are being properly generated
- Dependency Dashboard
- Verify `composer.json` constraint changes
- Implement dependency injection HOT 2
- `ext-pdo_sqlite` is not really installable HOT 12
- Consider composer validation commands HOT 4
- support for the config.bin-dir options in composer.json HOT 2
- Add in `composer-require-checker` as a globally installed tool HOT 5
- Run psalm against highest PHP version? HOT 3
- Bump `package.json` to use `node:^19` HOT 1
- Stable PHP version should be changed to PHP 8.0 HOT 1
- GHA `set-output` is deprecated
- Implement a mechanism to shrink the `vimeo/psalm` baseline, when possible HOT 1
- [RFC]: stop testing `latest` dependencies HOT 7
- Marking extensions as optional HOT 1
- Missing `backwardCompatibilityCheck` configuration flag documentation
- Enable `backwardsCompatibilityCheck` by-default for laminas components
- Allow org-wide configuration
- Invalid composer.json isn't handled gracefully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminas-ci-matrix-action.