File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
.github/workflows/contracts Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ ## Chainloop contracts
2+
3+ In this folder all contracts of Chainloop repository are kept as a reference and are the source of truth.
4+
5+ On every push to the ` main ` branch of the repository, all files contained in ` .github/workflows/contracts `
6+ are updated regardless if they have changed or not. No worries, Chainloop can detect if the file has changed or not
7+ and update the revision accordingly.
8+
9+ Additionally, the contracts are being updated every day at midnight UTC.
10+
11+ All logic is behind handled by the GitHub action ` .github/workflows/sync_contracts.yml ` .
12+
13+ ### Important note
14+ The name of the files in ` .github/workflows/contracts ` should be the same as the contract name since
15+ it's used for its update. Example:
16+ - Contract name: ` chainloop-deploy `
17+ - File name: ` chainloop-deploy.yml `
18+
19+ Generated update command:
20+ ``` bash
21+ $ chainloop wf contract update --name chainloop-deploy --contract .github/workflows/contracts/chainloop-deploy.yml
22+ ```
File renamed without changes.
You can’t perform that action at this time.
0 commit comments