Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/copy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
uses: actions/checkout@v2
with:
path: ${{ env.TEMPLATE_REPO_DIR }}
ref: ${{ matrix.cfg.source_ref || github.ref }}
- name: determine GitHub default branch
working-directory: ${{ env.TARGET_REPO_DIR }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name: Dispatch
on:
push:
branches: [ master, testing ]
workflow_dispatch:

env:
# Number of repositories in a batch.
Expand All @@ -23,6 +24,7 @@ env:

jobs:
matrix:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/testing'
name: Batch targets
runs-on: ubuntu-latest
outputs:
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ This check will be run in repositories that set `gogenerate` to `true` in `.gith
Note that depending on the code generators used, it might be necessary to [install those first](#additional-setup-steps).
The generators must also be deterministic, to prevent CI from getting different results each time.

## Technical Preview

You can opt-in to receive early updates from the `next` branch in-between official Unified CI releases.

To do so you have to set `source_ref` property to `next` on your repository target object in the configuration file.
```json
{
"repositories": [
{
"target": "pl-strflt/example",
"source_ref": "next"
}
]
}
```

_Warning_: `next` branch updates are much more frequent than those from `master`.

## Technical Details

This repository currently defines two workflows for Go repositories:
Expand Down