Updated the README

This commit is contained in:
2024-12-27 16:10:27 +01:00
parent bb365a5822
commit eb50e21241

View File

@@ -1,2 +1,46 @@
# docker-login-skydust # Auto rebase
An auto-rebase action that automatically determines dependencies.
## Usage
Defaults:
```
branchesToIgnore: "dev,main,master"
mainBranch: "dev"
```
Simple workflow:
```yaml
name: Rebase Remote Branches
on:
push:
branches:
- dev
# Disable multiple workflows at the same time
concurrency:
group: ${{ github.head_ref || github.ref_name }}
jobs:
rebase-branches:
runs-on: skydust-runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Rebase
uses: https://gitea.skydust.fr/actions/auto-rebase@main
with:
branchesToIgnore: "dev,master"
mainBranch: "dev"
```
## Dev
Simply run: `yarn install`
And run the script locally with: `yarn dev`
When committing, husky will automatically build.