Closed sebastian-sommerfeld-io closed 1 year ago
The GITHUB_TOKEN
is scoped only to the triggering repository. If you need to access any resources in other repositories or in other accounts then you need to pass a token with a wider scope to the checkout step. This can be a GitHub App token, a Personal Access Token etc.
There is no bootstrap script anymore. Somehow make sure linter definitons are synced into all projects. Maybe something siilar to a jarvis module?
Think about this
They should be synced into the repos somehow to avoid different / outdated rules across the repos. Rules should be the same everywhere.
.vscode
to.folderslintrc
.github
) that there are no ISSUE_TEMPLEATE folders and no PULL_REQUEST_TEMPLATE files. Make part of the reusable workflow (module-ci-lint.yml
). Remember theif NOT .github
check.docs/modules/ROOT/partials/README.adoc
: no need to manually manage linter definitions for each repo ... Document which files are written automaticallyImplementation idea
Based on https://medium.com/@ericchap/how-to-centralize-your-workflow-management-in-github-4ee49283790c
Error: Error: Pushing to https://github.com/sommerfeld-io/infrastructure-config - remote: Permission to sommerfeld-io/infrastructure-config.git denied to github-actions[bot].
... looks like the workflow does not have permissions to push to any repo but its own (= .github)- src/main/github-config/*
from.github/workflows/housekeeping-repo.yml
in all reposwebsite
repo (create a dedicatedblog
module). —> put the not working workflow file into the adr and explain based on this code..docs/modules/ADR/pages/adr-2023-07-16-global-update-workflows-vs-reusable-workflows.adoc