mirror of
https://github.com/ivuorinen/.github.git
synced 2026-02-05 14:43:26 +00:00
Fix: Linting, stale permissions, tweaks
This commit is contained in:
14
README.md
14
README.md
@@ -4,7 +4,9 @@ My Shared GitHub Actions & Configurations.
|
||||
|
||||
## Actions
|
||||
|
||||
Actions should be linked using the `uses` keyword. Read more from the Reusing workflows article [Calling a reusable workflow](https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow) and [jobs.<job_id>.steps[*].uses](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses) configuration documentation.
|
||||
Actions should be linked using the `uses` keyword. Read more from the Reusing workflows
|
||||
article [Calling a reusable workflow][reusable] and [jobs.<job_id>.steps[\*].uses][jobs]
|
||||
configuration documentation.
|
||||
|
||||
```yml
|
||||
jobs:
|
||||
@@ -14,7 +16,7 @@ jobs:
|
||||
ReusableMatrixJobForComposerInstall:
|
||||
strategy:
|
||||
matrix:
|
||||
target: ['8.0', '8.1', '8.2']
|
||||
target: ["8.0", "8.1", "8.2"]
|
||||
uses: ivuorinen/.github/workflows/composer-install.yml@main
|
||||
with:
|
||||
php-versions: ${{ matrix.target }}
|
||||
@@ -24,12 +26,16 @@ jobs:
|
||||
|
||||
### Renovate config
|
||||
|
||||
Go through [the onboarding process](https://docs.renovatebot.com/getting-started/installing-onboarding/) and save the following snippet as `.github/renovate.json`.
|
||||
Go through [the onboarding process][onboarding] and save
|
||||
the following snippet as `.github/renovate.json`.
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["github>ivuorinen/.github:renovate-config"]
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
[reusable]: https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
|
||||
[jobs]: https://docs.github.com/en/actions/using-workflows/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses
|
||||
[onboarding]: https://docs.renovatebot.com/getting-started/installing-onboarding
|
||||
|
||||
Reference in New Issue
Block a user