https://github.com/m0nsterrr/.github
Github meta repository, contains automation/workflows/standard configs used across my repositories.
https://github.com/m0nsterrr/.github
Last synced: 10 days ago
JSON representation
Github meta repository, contains automation/workflows/standard configs used across my repositories.
- Host: GitHub
- URL: https://github.com/m0nsterrr/.github
- Owner: M0NsTeRRR
- Created: 2024-07-01T19:57:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-22T05:24:02.000Z (about 1 month ago)
- Last Synced: 2026-02-22T12:20:23.783Z (about 1 month ago)
- Language: Jinja
- Size: 729 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- uv or devcontainer
Create a PAT GitHub token with permissions for all repositories or some specific repositories with the following permissions:
- repo
- workflow
- read:user
To prevents accidental deletion of Github repository, this ressource is marked as protected and require a manual deletion.
PAT Github token is required for https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#add-a-repository-to-an-app-installation.
## Run
```sh
export GITHUB_TOKEN=xxxx
export PULUMI_CONFIG_PASSPHRASE=xxxx
export AWS_ACCESS_KEY_ID=xxxx
export AWS_SECRET_ACCESS_KEY=xxxx
export AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
pulumi login 's3://pulumi?region=eu-west-1&endpoint=https://nas.unicornafk.fr:30292&s3ForcePathStyle=true'
pulumi stack select prod
pulumi refresh
pulumi up
```
### Create a stack
```sh
pulumi stack init
```
### Import an existing repository
```sh
pulumi import github:index/repository:Repository --parent urn:pulumi:prod::.github::pkg:index:GitRepositoryComponent::
```
### Delete a ressource
```sh
pulumi stack -u
pulumi state delete 'urn:XXXXXXXX'
```
# WIP
It's currently not possible to set some repository settings
In `Advanced Security`:
- `Dependabot > Dependabot alerts` must be enabled ([Github issue](https://github.com/integrations/terraform-provider-github/issues/2043))
In `settings`:
- `Releases > Enable release immutability Loading` must be checked ([Github issue](https://github.com/integrations/terraform-provider-github/issues/2746))
In `settings > actions`:
- `Approval for running fork pull request workflows from contributors` must be set to `Require approval for all external contributors`