|
| 1 | +<!-- START doctoc generated TOC please keep comment here to allow auto update --> |
| 2 | +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
| 3 | +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* |
| 4 | + |
| 5 | +- [github-flow-manager](#github-flow-manager) |
| 6 | + - [Help](#help) |
| 7 | + - [Example](#example) |
| 8 | + - [Pre commit](#pre-commit) |
| 9 | +- [Expressions](#expressions) |
| 10 | + - [Available variables](#available-variables) |
| 11 | + - [Examples](#examples) |
| 12 | + - [How to build](#how-to-build) |
| 13 | + |
| 14 | +<!-- END doctoc generated TOC please keep comment here to allow auto update --> |
| 15 | + |
1 | 16 | # github-flow-manager
|
2 | 17 | ## Help
|
3 | 18 | ```
|
@@ -29,6 +44,14 @@ GITHUB_TOKEN=xxx github-flow-manager octocat Hello-World test master "StatusSucc
|
29 | 44 | GITHUB_TOKEN=xxx github-flow-manager octocat Hello-World test master "StatusSuccess == false" "pipeline-1-name-to-be-checked,pipeline-2-name-to-be-checked" --verbose --dry-run
|
30 | 45 | ```
|
31 | 46 |
|
| 47 | +## Pre commit |
| 48 | + |
| 49 | +This repo leverage pre commit to lint, secure, document the IaaC codebase. The pre-commit configuration require the following dependencies: |
| 50 | +- [pre-commit](https://pre-commit.com/#install) |
| 51 | +- [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) |
| 52 | + |
| 53 | +**One first repo download, to install the pre-commit hooks run**: `pre-commit install`, to run the hooks at will run: `pre-commit run -a` |
| 54 | + |
32 | 55 | # Expressions
|
33 | 56 | ### Available variables
|
34 | 57 | - `SHA`
|
@@ -67,7 +90,7 @@ Tag your changes
|
67 | 90 | git tag -a v1.0.X -m "fix"
|
68 | 91 | ```
|
69 | 92 |
|
70 |
| -Release |
| 93 | +Release |
71 | 94 | Note: you should generate your Personal Access Token with `write packages` scope enabled
|
72 | 95 | ```
|
73 | 96 | GITHUB_TOKEN=<PERSONAL_ACCESS_TOKEN> goreleaser release
|
|
0 commit comments