https://github.com/m0nsterrr/.github
Github meta repository, contains automation/workflows/standard configs used across my repositories.
https://github.com/m0nsterrr/.github
Last synced: 4 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T15:28:15.000Z (6 months ago)
- Last Synced: 2025-02-19T13:25:52.560Z (4 months ago)
- Language: Jinja
- Size: 186 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- uv or devcontainer
Create a fine-grained GitHub token with permissions for all repositories or some specific repositories with the following permissions:
- Administration (Read/Write)
- Contents (Read/Write)
- Issues (Read/Write) for labels
- Workflows (Read/Write) for GitHub actionssTo prevents accidental deletion of Github repository, this ressource is marked as protected and require a manual deletion.
## Run
```sh
export GITHUB_TOKEN=YYYYYYYYYYYYYY
export PULUMI_CONFIG_PASSPHRASE=XXXXXXXXXXX
pulumi login --local
pulumi stack select
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 `settings > actions`:
- `Approval for running fork pull request workflows from contributors` must be set to `Require approval for all external contributors`
- In `Workflow permissions`, `Allow GitHub Actions to create and approve pull requests` must be ticked ([Github PR](https://github.com/integrations/terraform-provider-github/pull/2309))It's currently not possible to set some user settings
In `settings > installations`
- Add the needed Github apps to your repositories ([Github PR](https://github.com/integrations/terraform-provider-github/pull/2469))